#2F367C#2F367C
#2F367C is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.9% C 0.118 H 274.8°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2F367C |
|---|---|
| RGB | rgb(47, 54, 124) |
| HSL | hsl(235, 45%, 34%) |
| HSV | hsv(235, 62%, 49%) |
| CMYK | cmyk(62.1%, 56.5%, 0%, 51.4%) |
| CIE-LAB | lab(25.85, 20.09, -40.86) |
| CIE-LCH | lch(25.85, 45.53, 296.18°) |
| OKLab | oklab(36.87% 0.0098 -0.1172) |
| OKLCH | oklch(36.87% 0.118 274.8) |
| XYZ | xyz(6.1284, 4.6974, 19.6486) |
| Luminance | 0.0470 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.97
Blueberry
#464196
ΔE00 5.68
Marine
#042E60
ΔE00 7.17
Sapphire (survey)
#2138AB
ΔE00 7.33
Marine Blue
#01386A
ΔE00 7.79
Cobalt (survey)
#1E488F
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F367C #7C752F
analogous
#2F5C7C #2F367C #4E2F7C
triadic
#2F367C #7C2F36 #367C2F
tetradic
#2F367C #7C2F5C #7C752F #2F7C4E
square
#2F367C #7C2F5C #7C752F #2F7C4E
split-complementary
#2F367C #7C4E2F #5C7C2F
monochromatic
#0D0F23 #1E2350 #2F367C #4049A8 #626BC3
Accessibility & contrast
On white
10.83
#2F367C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2F367C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F367C
10.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F367C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F367C | 1.00 | 10.83 | 1.94 | 10.83 |
| #FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#06417E
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2f367c; /* rgb */ color: rgb(47, 54, 124); /* oklch */ color: oklch(36.9% 0.118 274.8);
Tailwind
colors: {
custom: {
50: '#706ca2',
500: '#2f367c',
950: '#000000',
},
}SCSS
$custom: #2f367c; $custom-light: #706ca2; $custom-dark: #000000;
JSON
{
"hex": "#2f367c",
"rgb": {
"r": 47,
"g": 54,
"b": 124
},
"hsl": {
"h": 234.545,
"s": 45.029,
"l": 33.529
},
"oklch": {
"l": 0.36866,
"c": 0.11757,
"h": 274.8
},
"luminance": 0.04698
}Semantic roles & 50–950 ramp
primary
#2F367C
secondary
#AAA35C
accent
#C953D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F