#2F249C#2F249C
#2F249C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.183 H 276.6°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2F249C |
|---|---|
| RGB | rgb(47, 36, 156) |
| HSL | hsl(246, 63%, 38%) |
| HSV | hsv(246, 77%, 61%) |
| CMYK | cmyk(69.9%, 76.9%, 0%, 38.8%) |
| CIE-LAB | lab(24.53, 42.60, -62.89) |
| CIE-LCH | lch(24.53, 75.96, 304.11°) |
| OKLab | oklab(36.8% 0.0209 -0.1818) |
| OKLCH | oklch(36.8% 0.183 276.6) |
| XYZ | xyz(7.8020, 4.2657, 31.8582) |
| Luminance | 0.0427 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.80
Royal
#0C1793
ΔE00 3.87
Cobalt Blue
#030AA7
ΔE00 4.86
Royal Blue (survey)
#0504AA
ΔE00 5.32
Ultramarine
#2000B1
ΔE00 5.36
Sapphire (survey)
#2138AB
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F249C #919C24
analogous
#24559C #2F249C #6B249C
triadic
#2F249C #9C2F24 #249C2F
tetradic
#2F249C #9C2455 #919C24 #249C6B
square
#2F249C #9C2455 #919C24 #249C6B
split-complementary
#2F249C #9C6B24 #559C24
monochromatic
#110D39 #20196A #2F249C #3E2FCE #6B60DA
Accessibility & contrast
On white
11.33
#2F249C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#2F249C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F249C
11.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F249C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F249C | 1.00 | 11.33 | 1.85 | 11.33 |
| #FFFFFF | 11.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2f249c; /* rgb */ color: rgb(47, 36, 156); /* oklch */ color: oklch(36.8% 0.183 276.6);
Tailwind
colors: {
custom: {
50: '#7861ba',
500: '#2f249c',
950: '#000000',
},
}SCSS
$custom: #2f249c; $custom-light: #7861ba; $custom-dark: #000000;
JSON
{
"hex": "#2f249c",
"rgb": {
"r": 47,
"g": 36,
"b": 156
},
"hsl": {
"h": 245.5,
"s": 62.5,
"l": 37.647
},
"oklch": {
"l": 0.36796,
"c": 0.18297,
"h": 276.6
},
"luminance": 0.04266
}Semantic roles & 50–950 ramp
primary
#2F249C
secondary
#B6BF5C
accent
#E642D7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981