#2F3DB2#2F3DB2
#2F3DB2 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.9% C 0.184 H 270.9°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3DB2 |
|---|---|
| RGB | rgb(47, 61, 178) |
| HSL | hsl(234, 58%, 44%) |
| HSV | hsv(234, 74%, 70%) |
| CMYK | cmyk(73.6%, 65.7%, 0%, 30.2%) |
| CIE-LAB | lab(32.16, 35.16, -63.61) |
| CIE-LCH | lch(32.16, 72.68, 298.93°) |
| OKLab | oklab(42.93% 0.0029 -0.1839) |
| OKLCH | oklch(42.93% 0.184 270.9) |
| XYZ | xyz(10.8742, 7.1550, 42.9188) |
| Luminance | 0.0716 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.01
Blue Blue
#2242C7
ΔE00 3.12
Ocean Blue
#4F42B5
ΔE00 4.32
Blueberry
#464196
ΔE00 5.39
Blue With A Hint Of Purple
#533CC6
ΔE00 5.71
Cobalt
#0047AB
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3DB2 #B2A42F
analogous
#2F7FB2 #2F3DB2 #632FB2
triadic
#2F3DB2 #B22F3D #3DB22F
tetradic
#2F3DB2 #B22F7F #B2A42F #2FB263
square
#2F3DB2 #B22F7F #B2A42F #2FB263
split-complementary
#2F3DB2 #B2632F #7FB22F
monochromatic
#151C51 #222C82 #2F3DB2 #4E5CD0 #7E88DD
Accessibility & contrast
On white
8.64
#2F3DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#2F3DB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3DB2
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3DB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3DB2 | 1.00 | 8.64 | 2.43 | 8.64 |
| #FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f3db2; /* rgb */ color: rgb(47, 61, 178); /* oklch */ color: oklch(42.9% 0.184 270.9);
Tailwind
colors: {
custom: {
50: '#7b72ca',
500: '#2f3db2',
950: '#000000',
},
}SCSS
$custom: #2f3db2; $custom-light: #7b72ca; $custom-dark: #000000;
JSON
{
"hex": "#2f3db2",
"rgb": {
"r": 47,
"g": 61,
"b": 178
},
"hsl": {
"h": 233.588,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.42928,
"c": 0.18393,
"h": 270.9
},
"luminance": 0.07156
}Semantic roles & 50–950 ramp
primary
#2F3DB2
secondary
#C6BD77
accent
#D146E1
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82