#284FB2#284FB2
#284FB2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.164 H 264.5°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #284FB2 |
|---|---|
| RGB | rgb(40, 79, 178) |
| HSL | hsl(223, 63%, 43%) |
| HSV | hsv(223, 78%, 70%) |
| CMYK | cmyk(77.5%, 55.6%, 0%, 30.2%) |
| CIE-LAB | lab(36.47, 22.58, -56.58) |
| CIE-LCH | lch(36.47, 60.92, 291.75°) |
| OKLab | oklab(46.05% -0.0157 -0.1632) |
| OKLCH | oklch(46.05% 0.164 264.5) |
| XYZ | xyz(11.7041, 9.2561, 43.2806) |
| Luminance | 0.0926 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.17
Cobalt
#0047AB
ΔE00 3.14
Cobalt (survey)
#1E488F
ΔE00 5.29
Blue Blue
#2242C7
ΔE00 5.33
Dusk Blue
#26538D
ΔE00 5.69
Denim Blue
#3B5B92
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284FB2 #B28B28
analogous
#2894B2 #284FB2 #4628B2
triadic
#284FB2 #B2284F #4FB228
tetradic
#284FB2 #B22894 #B28B28 #28B246
square
#284FB2 #B22894 #B28B28 #28B246
split-complementary
#284FB2 #B24628 #94B228
monochromatic
#12234E #1D3980 #284FB2 #436CD5 #7593E0
Accessibility & contrast
On white
7.36
#284FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#284FB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284FB2
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284FB2 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #284fb2; /* rgb */ color: rgb(40, 79, 178); /* oklch */ color: oklch(46.0% 0.164 264.5);
Tailwind
colors: {
custom: {
50: '#777fca',
500: '#284fb2',
950: '#000000',
},
}SCSS
$custom: #284fb2; $custom-light: #777fca; $custom-dark: #000000;
JSON
{
"hex": "#284fb2",
"rgb": {
"r": 40,
"g": 79,
"b": 178
},
"hsl": {
"h": 223.043,
"s": 63.303,
"l": 42.745
},
"oklch": {
"l": 0.46049,
"c": 0.16395,
"h": 264.5
},
"luminance": 0.09257
}Semantic roles & 50–950 ramp
primary
#284FB2
secondary
#C7AE6F
accent
#B841E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82