#2F259C#2F259C
#2F259C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.182 H 276.4°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2F259C |
|---|---|
| RGB | rgb(47, 37, 156) |
| HSL | hsl(245, 62%, 38%) |
| HSV | hsv(245, 76%, 61%) |
| CMYK | cmyk(69.9%, 76.3%, 0%, 38.8%) |
| CIE-LAB | lab(24.72, 42.05, -62.57) |
| CIE-LCH | lch(24.72, 75.39, 303.90°) |
| OKLab | oklab(36.93% 0.0204 -0.1808) |
| OKLCH | oklch(36.93% 0.182 276.4) |
| XYZ | xyz(7.8326, 4.3271, 31.8685) |
| Luminance | 0.0433 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.93
Royal
#0C1793
ΔE00 4.02
Cobalt Blue
#030AA7
ΔE00 5.05
Royal Blue (survey)
#0504AA
ΔE00 5.52
Ultramarine
#2000B1
ΔE00 5.56
Sapphire (survey)
#2138AB
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F259C #929C25
analogous
#25569C #2F259C #6A259C
triadic
#2F259C #9C2F25 #259C2F
tetradic
#2F259C #9C2556 #929C25 #259C6A
square
#2F259C #9C2556 #929C25 #259C6A
split-complementary
#2F259C #9C6A25 #569C25
monochromatic
#110E39 #20196B #2F259C #3E31CD #6C62DA
Accessibility & contrast
On white
11.26
#2F259C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#2F259C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F259C
11.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F259C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F259C | 1.00 | 11.26 | 1.87 | 11.26 |
| #FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2f259c; /* rgb */ color: rgb(47, 37, 156); /* oklch */ color: oklch(36.9% 0.182 276.4);
Tailwind
colors: {
custom: {
50: '#7862ba',
500: '#2f259c',
950: '#000000',
},
}SCSS
$custom: #2f259c; $custom-light: #7862ba; $custom-dark: #000000;
JSON
{
"hex": "#2f259c",
"rgb": {
"r": 47,
"g": 37,
"b": 156
},
"hsl": {
"h": 245.042,
"s": 61.658,
"l": 37.843
},
"oklch": {
"l": 0.36933,
"c": 0.18199,
"h": 276.4
},
"luminance": 0.04328
}Semantic roles & 50–950 ramp
primary
#2F259C
secondary
#B7BF5E
accent
#E543D7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981