#263181#263181
#263181 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.134 H 271.8°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #263181 |
|---|---|
| RGB | rgb(38, 49, 129) |
| HSL | hsl(233, 54%, 33%) |
| HSV | hsv(233, 71%, 51%) |
| CMYK | cmyk(70.5%, 62%, 0%, 49.4%) |
| CIE-LAB | lab(24.30, 23.81, -46.56) |
| CIE-LCH | lch(24.30, 52.29, 297.08°) |
| OKLab | oklab(35.68% 0.0041 -0.1342) |
| OKLCH | oklch(35.68% 0.134 271.8) |
| XYZ | xyz(5.8588, 4.1931, 21.2652) |
| Luminance | 0.0419 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.04
Sapphire (survey)
#2138AB
ΔE00 6.31
Blueberry
#464196
ΔE00 6.45
Midnight Blue
#191970
ΔE00 6.88
Marine
#042E60
ΔE00 7.12
Royal
#0C1793
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#263181 #817626
analogous
#265F81 #263181 #482681
triadic
#263181 #812631 #318126
tetradic
#263181 #81265F #817626 #268148
square
#263181 #81265F #817626 #268148
split-complementary
#263181 #814826 #5F8126
monochromatic
#0A0D22 #181F52 #263181 #3443B0 #5563CD
Accessibility & contrast
On white
11.42
#263181 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#263181 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #263181
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##263181 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##263181 | 1.00 | 11.42 | 1.84 | 11.42 |
| #FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #263181; /* rgb */ color: rgb(38, 49, 129); /* oklch */ color: oklch(35.7% 0.134 271.8);
Tailwind
colors: {
custom: {
50: '#6d69a6',
500: '#263181',
950: '#000000',
},
}SCSS
$custom: #263181; $custom-light: #6d69a6; $custom-dark: #000000;
JSON
{
"hex": "#263181",
"rgb": {
"r": 38,
"g": 49,
"b": 129
},
"hsl": {
"h": 232.747,
"s": 54.491,
"l": 32.745
},
"oklch": {
"l": 0.35677,
"c": 0.13428,
"h": 271.8
},
"luminance": 0.04194
}Semantic roles & 50–950 ramp
primary
#263181
secondary
#B1A651
accent
#CC4ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F