#2F3CB7#2F3CB7
#2F3CB7 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.2% C 0.192 H 270.9°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3CB7 |
|---|---|
| RGB | rgb(47, 60, 183) |
| HSL | hsl(234, 59%, 45%) |
| HSV | hsv(234, 74%, 72%) |
| CMYK | cmyk(74.3%, 67.2%, 0%, 28.2%) |
| CIE-LAB | lab(32.38, 37.57, -66.22) |
| CIE-LCH | lch(32.38, 76.13, 299.57°) |
| OKLab | oklab(43.23% 0.0031 -0.1915) |
| OKLCH | oklch(43.23% 0.192 270.9) |
| XYZ | xyz(11.3325, 7.2538, 45.5934) |
| Luminance | 0.0726 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.38
Blue Blue
#2242C7
ΔE00 2.79
Ocean Blue
#4F42B5
ΔE00 4.19
Blue With A Hint Of Purple
#533CC6
ΔE00 5.18
Blue (survey)
#0343DF
ΔE00 5.37
Blurple
#5539CC
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3CB7 #B7AA2F
analogous
#2F80B7 #2F3CB7 #662FB7
triadic
#2F3CB7 #B72F3C #3CB72F
tetradic
#2F3CB7 #B72F80 #B7AA2F #2FB766
square
#2F3CB7 #B72F80 #B7AA2F #2FB766
split-complementary
#2F3CB7 #B7662F #80B72F
monochromatic
#161C56 #222C86 #2F3CB7 #515DD2 #828BDF
Accessibility & contrast
On white
8.57
#2F3CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2F3CB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3CB7
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3CB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3CB7 | 1.00 | 8.57 | 2.45 | 8.57 |
| #FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0046B5
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f3cb7; /* rgb */ color: rgb(47, 60, 183); /* oklch */ color: oklch(43.2% 0.192 270.9);
Tailwind
colors: {
custom: {
50: '#7c72ce',
500: '#2f3cb7',
950: '#000000',
},
}SCSS
$custom: #2f3cb7; $custom-light: #7c72ce; $custom-dark: #000000;
JSON
{
"hex": "#2f3cb7",
"rgb": {
"r": 47,
"g": 60,
"b": 183
},
"hsl": {
"h": 234.265,
"s": 59.13,
"l": 45.098
},
"oklch": {
"l": 0.43228,
"c": 0.19155,
"h": 270.9
},
"luminance": 0.07255
}Semantic roles & 50–950 ramp
primary
#2F3CB7
secondary
#C8C07A
accent
#D345E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82