#2F3CA3#2F3CA3
#2F3CA3 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.165 H 271.5°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3CA3 |
|---|---|
| RGB | rgb(47, 60, 163) |
| HSL | hsl(233, 55%, 41%) |
| HSV | hsv(233, 71%, 64%) |
| CMYK | cmyk(71.2%, 63.2%, 0%, 36.1%) |
| CIE-LAB | lab(30.59, 30.37, -57.19) |
| CIE-LCH | lch(30.59, 64.76, 297.97°) |
| OKLab | oklab(41.37% 0.0044 -0.1651) |
| OKLCH | oklch(41.37% 0.165 271.5) |
| XYZ | xyz(9.3968, 6.4795, 35.3987) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.87
Blueberry
#464196
ΔE00 4.19
Blue Blue
#2242C7
ΔE00 5.05
Ocean Blue
#4F42B5
ΔE00 5.35
Cobalt
#0047AB
ΔE00 5.62
Darkslateblue
#483D8B
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3CA3 #A3962F
analogous
#2F76A3 #2F3CA3 #5C2FA3
triadic
#2F3CA3 #A32F3C #3CA32F
tetradic
#2F3CA3 #A32F76 #A3962F #2FA35C
square
#2F3CA3 #A32F76 #A3962F #2FA35C
split-complementary
#2F3CA3 #A35C2F #76A32F
monochromatic
#141944 #212B73 #2F3CA3 #4654CA #7580D7
Accessibility & contrast
On white
9.15
#2F3CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2F3CA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3CA3
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3CA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3CA3 | 1.00 | 9.15 | 2.30 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0043A1
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f3ca3; /* rgb */ color: rgb(47, 60, 163); /* oklch */ color: oklch(41.4% 0.165 271.5);
Tailwind
colors: {
custom: {
50: '#7871bf',
500: '#2f3ca3',
950: '#000000',
},
}SCSS
$custom: #2f3ca3; $custom-light: #7871bf; $custom-dark: #000000;
JSON
{
"hex": "#2f3ca3",
"rgb": {
"r": 47,
"g": 60,
"b": 163
},
"hsl": {
"h": 233.276,
"s": 55.238,
"l": 41.176
},
"oklch": {
"l": 0.41372,
"c": 0.16517,
"h": 271.5
},
"luminance": 0.0648
}Semantic roles & 50–950 ramp
primary
#2F3CA3
secondary
#BFB66F
accent
#CE49DF
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81