#2F326E#2F326E
#2F326E is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.9% C 0.102 H 277.6°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2F326E |
|---|---|
| RGB | rgb(47, 50, 110) |
| HSL | hsl(237, 40%, 31%) |
| HSV | hsv(237, 57%, 43%) |
| CMYK | cmyk(57.3%, 54.5%, 0%, 56.9%) |
| CIE-LAB | lab(23.71, 17.76, -35.41) |
| CIE-LCH | lch(23.71, 39.61, 296.64°) |
| OKLab | oklab(34.93% 0.0134 -0.1012) |
| OKLCH | oklch(34.93% 0.102 277.6) |
| XYZ | xyz(5.1265, 4.0110, 15.2529) |
| Luminance | 0.0401 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.39
Marine
#042E60
ΔE00 6.73
Navy Blue
#1B2A4A
ΔE00 7.61
Blueberry
#464196
ΔE00 7.74
Midnight Blue
#191970
ΔE00 7.88
Marine Blue
#01386A
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F326E #6E6B2F
analogous
#2F516E #2F326E #4B2F6E
triadic
#2F326E #6E2F32 #326E2F
tetradic
#2F326E #6E2F51 #6E6B2F #2F6E4B
square
#2F326E #6E2F51 #6E6B2F #2F6E4B
split-complementary
#2F326E #6E4B2F #516E2F
monochromatic
#0A0B18 #1D1F43 #2F326E #414599 #5D62BA
Accessibility & contrast
On white
11.65
#2F326E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#2F326E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F326E
11.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F326E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F326E | 1.00 | 11.65 | 1.80 | 11.65 |
| #FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#123B70
Deuteranopia (green-blind)
#08366D
Tritanopia (blue-blind)
#103F4B
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2f326e; /* rgb */ color: rgb(47, 50, 110); /* oklch */ color: oklch(34.9% 0.102 277.6);
Tailwind
colors: {
custom: {
50: '#6d6998',
500: '#2f326e',
950: '#000000',
},
}SCSS
$custom: #2f326e; $custom-light: #6d6998; $custom-dark: #000000;
JSON
{
"hex": "#2f326e",
"rgb": {
"r": 47,
"g": 50,
"b": 110
},
"hsl": {
"h": 237.143,
"s": 40.127,
"l": 30.784
},
"oklch": {
"l": 0.34927,
"c": 0.10207,
"h": 277.6
},
"luminance": 0.04011
}Semantic roles & 50–950 ramp
primary
#2F326E
secondary
#9F9C59
accent
#CA58D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E