#2F296C#2F296C
#2F296C is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.9% C 0.112 H 282.3°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2F296C |
|---|---|
| RGB | rgb(47, 41, 108) |
| HSL | hsl(245, 45%, 29%) |
| HSV | hsv(245, 62%, 42%) |
| CMYK | cmyk(56.5%, 62%, 0%, 57.6%) |
| CIE-LAB | lab(21.10, 23.22, -38.32) |
| CIE-LCH | lch(21.10, 44.81, 301.21°) |
| OKLab | oklab(32.94% 0.024 -0.1098) |
| OKLCH | oklch(32.94% 0.112 282.3) |
| XYZ | xyz(4.6712, 3.2726, 14.5700) |
| Luminance | 0.0327 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.38
Darkslateblue
#483D8B
ΔE00 7.32
Marine
#042E60
ΔE00 8.39
Dark Indigo
#1F0954
ΔE00 8.41
Navy Blue
#1B2A4A
ΔE00 8.65
Royal
#0C1793
ΔE00 8.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F296C #666C29
analogous
#29456C #2F296C #51296C
triadic
#2F296C #6C2F29 #296C2F
tetradic
#2F296C #6C2945 #666C29 #296C51
square
#2F296C #6C2945 #666C29 #296C51
split-complementary
#2F296C #6C5129 #456C29
monochromatic
#0A0816 #1C1840 #2F296C #423A98 #5C52BD
Accessibility & contrast
On white
12.69
#2F296C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#2F296C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F296C
12.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F296C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F296C | 1.00 | 12.69 | 1.65 | 12.69 |
| #FFFFFF | 12.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00356E
Deuteranopia (green-blind)
#00306B
Tritanopia (blue-blind)
#143946
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2f296c; /* rgb */ color: rgb(47, 41, 108); /* oklch */ color: oklch(32.9% 0.112 282.3);
Tailwind
colors: {
custom: {
50: '#6e6397',
500: '#2f296c',
950: '#000000',
},
}SCSS
$custom: #2f296c; $custom-light: #6e6397; $custom-dark: #000000;
JSON
{
"hex": "#2f296c",
"rgb": {
"r": 47,
"g": 41,
"b": 108
},
"hsl": {
"h": 245.373,
"s": 44.966,
"l": 29.216
},
"oklch": {
"l": 0.32941,
"c": 0.11243,
"h": 282.3
},
"luminance": 0.03273
}Semantic roles & 50–950 ramp
primary
#2F296C
secondary
#989E53
accent
#D553C9
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050D
muted
#7A797E