Recognised as Colour
#304FCB
- #304FCB
- Blue
- Dark
- Nearest: Royal blue
#304FCB is a blue with RGB values 48, 79, 203 and HSL 228°, 62%, 49%. It is a dark colour, so white text on it reaches 6.8:1 contrast (AA for normal text). The nearest named colour is Royal blue.
Colour values
#304FCB#304FCB
HEX#304FCB
RGBrgb(48, 79, 203)
RGB (0–1)0.1882, 0.3098, 0.7961
RGB percentages18.8%, 31%, 79.6%
HSLhsl(228, 61.8%, 49.2%)
HSV / HSBhsv(228, 76.4%, 79.6%)
CMYK76.4%, 61.1%, 0%, 20.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,166,155
CSS custom property--colour: #304FCB;
Brightness & contrast
Relative luminance0.10532WCAG 2.x, 0 is black and 1 is white
Perceived brightness95.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.76:1
Contrast with white6.76:1WCAG normal text: AA
Contrast with black3.11:1WCAG normal text: Fail
Greyscale equivalent#515151
Inverted#CFB034
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.76:1WCAG large text: AAA
Contrast with black, large text3.11:1WCAG large text: AA
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#CBAC30
Analogous#309DCB, #5E30CB
Triadic#CB304F, #4FCB30
Split complementary#CB5F30, #9CCB30
Tetradic#CB309D, #CBAC30, #30CB5E
Tints, shades & saturation
Channel breakdown
R48
G79
B203
Red48 (18.8%)
Green79 (31%)
Blue203 (79.6%)
Hue228°
Saturation (HSL)61.75%
Lightness49.22%
Dominant channelBlue
Hex per channelR 30 · G 4F · B CB
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page