#2F26AF#2F26AF
#2F26AF is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.1% C 0.204 H 274.4°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2F26AF |
|---|---|
| RGB | rgb(47, 38, 175) |
| HSL | hsl(244, 64%, 42%) |
| HSV | hsv(244, 78%, 69%) |
| CMYK | cmyk(73.1%, 78.3%, 0%, 31.4%) |
| CIE-LAB | lab(26.98, 47.62, -70.36) |
| CIE-LCH | lch(26.98, 84.96, 304.09°) |
| OKLab | oklab(39.13% 0.0155 -0.2035) |
| OKLCH | oklch(39.13% 0.204 274.4) |
| XYZ | xyz(9.6007, 5.0848, 41.0246) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.75
True Blue
#010FCC
ΔE00 4.54
Ultramarine
#2000B1
ΔE00 5.12
Sapphire (survey)
#2138AB
ΔE00 5.21
Cobalt Blue
#030AA7
ΔE00 5.31
Mediumblue
#0000CD
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F26AF #A6AF26
analogous
#2661AF #2F26AF #7426AF
triadic
#2F26AF #AF2F26 #26AF2F
tetradic
#2F26AF #AF2661 #A6AF26 #26AF74
square
#2F26AF #AF2661 #A6AF26 #26AF74
split-complementary
#2F26AF #AF7426 #61AF26
monochromatic
#14104A #211B7D #2F26AF #473DD5 #7770E0
Accessibility & contrast
On white
10.41
#2F26AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2F26AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F26AF
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F26AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F26AF | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#0039AD
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f26af; /* rgb */ color: rgb(47, 38, 175); /* oklch */ color: oklch(39.1% 0.204 274.4);
Tailwind
colors: {
custom: {
50: '#7c63c8',
500: '#2f26af',
950: '#000000',
},
}SCSS
$custom: #2f26af; $custom-light: #7c63c8; $custom-dark: #000000;
JSON
{
"hex": "#2f26af",
"rgb": {
"r": 47,
"g": 38,
"b": 175
},
"hsl": {
"h": 243.942,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.39125,
"c": 0.20409,
"h": 274.4
},
"luminance": 0.05086
}Semantic roles & 50–950 ramp
primary
#2F26AF
secondary
#C1C76A
accent
#E740DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82