#262BA7#262BA7
#262BA7 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.192 H 271.3°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).
Color values
| HEX | #262BA7 |
|---|---|
| RGB | rgb(38, 43, 167) |
| HSL | hsl(238, 63%, 40%) |
| HSV | hsv(238, 77%, 65%) |
| CMYK | cmyk(77.2%, 74.3%, 0%, 34.5%) |
| CIE-LAB | lab(26.53, 41.46, -66.30) |
| CIE-LCH | lch(26.53, 78.19, 302.02°) |
| OKLab | oklab(38.41% 0.0042 -0.1919) |
| OKLCH | oklch(38.41% 0.192 271.3) |
| XYZ | xyz(8.6359, 4.9289, 37.0480) |
| Luminance | 0.0493 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.74
Indigo Blue
#3A18B1
ΔE00 4.58
Royal
#0C1793
ΔE00 5.41
Cobalt Blue
#030AA7
ΔE00 6.02
True Blue
#010FCC
ΔE00 6.03
Ultramarine
#2000B1
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262BA7 #A7A226
analogous
#266CA7 #262BA7 #6126A7
triadic
#262BA7 #A7262B #2BA726
tetradic
#262BA7 #A7266C #A7A226 #26A761
square
#262BA7 #A7266C #A7A226 #26A761
split-complementary
#262BA7 #A76126 #6CA726
monochromatic
#0F1143 #1B1E75 #262BA7 #383ED2 #6A6FDD
Accessibility & contrast
On white
10.57
#262BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#262BA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262BA7
10.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262BA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262BA7 | 1.00 | 10.57 | 1.99 | 10.57 |
| #FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#0038A5
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #262ba7; /* rgb */ color: rgb(38, 43, 167); /* oklch */ color: oklch(38.4% 0.192 271.3);
Tailwind
colors: {
custom: {
50: '#7766c2',
500: '#262ba7',
950: '#000000',
},
}SCSS
$custom: #262ba7; $custom-light: #7766c2; $custom-dark: #000000;
JSON
{
"hex": "#262ba7",
"rgb": {
"r": 38,
"g": 43,
"b": 167
},
"hsl": {
"h": 237.674,
"s": 62.927,
"l": 40.196
},
"oklch": {
"l": 0.38409,
"c": 0.19199,
"h": 271.3
},
"luminance": 0.0493
}Semantic roles & 50–950 ramp
primary
#262BA7
secondary
#C3C065
accent
#E042E6
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82