#2F239C#2F239C
#2F239C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.7% C 0.184 H 276.7°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2F239C |
|---|---|
| RGB | rgb(47, 35, 156) |
| HSL | hsl(246, 63%, 37%) |
| HSV | hsv(246, 78%, 61%) |
| CMYK | cmyk(69.9%, 77.6%, 0%, 38.8%) |
| CIE-LAB | lab(24.34, 43.14, -63.21) |
| CIE-LCH | lch(24.34, 76.53, 304.31°) |
| OKLab | oklab(36.66% 0.0215 -0.1827) |
| OKLCH | oklch(36.66% 0.184 276.7) |
| XYZ | xyz(7.7721, 4.2060, 31.8483) |
| Luminance | 0.0421 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.68
Royal
#0C1793
ΔE00 3.74
Cobalt Blue
#030AA7
ΔE00 4.67
Royal Blue (survey)
#0504AA
ΔE00 5.13
Ultramarine
#2000B1
ΔE00 5.17
Sapphire (survey)
#2138AB
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F239C #909C23
analogous
#23549C #2F239C #6B239C
triadic
#2F239C #9C2F23 #239C2F
tetradic
#2F239C #9C2354 #909C23 #239C6B
square
#2F239C #9C2354 #909C23 #239C6B
split-complementary
#2F239C #9C6B23 #549C23
monochromatic
#110D38 #20186A #2F239C #3E2ECE #6B5EDB
Accessibility & contrast
On white
11.40
#2F239C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2F239C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F239C
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F239C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F239C | 1.00 | 11.40 | 1.84 | 11.40 |
| #FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2f239c; /* rgb */ color: rgb(47, 35, 156); /* oklch */ color: oklch(36.7% 0.184 276.7);
Tailwind
colors: {
custom: {
50: '#7861ba',
500: '#2f239c',
950: '#000000',
},
}SCSS
$custom: #2f239c; $custom-light: #7861ba; $custom-dark: #000000;
JSON
{
"hex": "#2f239c",
"rgb": {
"r": 47,
"g": 35,
"b": 156
},
"hsl": {
"h": 245.95,
"s": 63.351,
"l": 37.451
},
"oklch": {
"l": 0.36663,
"c": 0.18394,
"h": 276.7
},
"luminance": 0.04207
}Semantic roles & 50–950 ramp
primary
#2F239C
secondary
#B6C05B
accent
#E641D6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981