#2F367B#2F367B
#2F367B is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.8% C 0.116 H 274.8°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2F367B |
|---|---|
| RGB | rgb(47, 54, 123) |
| HSL | hsl(234, 45%, 33%) |
| HSV | hsv(234, 62%, 48%) |
| CMYK | cmyk(61.8%, 56.1%, 0%, 51.8%) |
| CIE-LAB | lab(25.78, 19.72, -40.35) |
| CIE-LCH | lch(25.78, 44.91, 296.05°) |
| OKLab | oklab(36.79% 0.0097 -0.1157) |
| OKLCH | oklch(36.79% 0.116 274.8) |
| XYZ | xyz(6.0654, 4.6723, 19.3173) |
| Luminance | 0.0467 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.05
Blueberry
#464196
ΔE00 5.79
Marine
#042E60
ΔE00 7.08
Sapphire (survey)
#2138AB
ΔE00 7.50
Marine Blue
#01386A
ΔE00 7.74
Cobalt (survey)
#1E488F
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F367B #7B742F
analogous
#2F5C7B #2F367B #4E2F7B
triadic
#2F367B #7B2F36 #367B2F
tetradic
#2F367B #7B2F5C #7B742F #2F7B4E
square
#2F367B #7B2F5C #7B742F #2F7B4E
split-complementary
#2F367B #7B4E2F #5C7B2F
monochromatic
#0D0F22 #1E234F #2F367B #4049A7 #626BC3
Accessibility & contrast
On white
10.85
#2F367B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2F367B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F367B
10.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F367B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F367B | 1.00 | 10.85 | 1.93 | 10.85 |
| #FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#09407D
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2f367b; /* rgb */ color: rgb(47, 54, 123); /* oklch */ color: oklch(36.8% 0.116 274.8);
Tailwind
colors: {
custom: {
50: '#6f6ca2',
500: '#2f367b',
950: '#000000',
},
}SCSS
$custom: #2f367b; $custom-light: #6f6ca2; $custom-dark: #000000;
JSON
{
"hex": "#2f367b",
"rgb": {
"r": 47,
"g": 54,
"b": 123
},
"hsl": {
"h": 234.474,
"s": 44.706,
"l": 33.333
},
"oklch": {
"l": 0.36786,
"c": 0.11607,
"h": 274.8
},
"luminance": 0.04673
}Semantic roles & 50–950 ramp
primary
#2F367B
secondary
#AAA35C
accent
#C953D4
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08070F
muted
#7B7A7F