#1A308E#1A308E
#1A308E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.157 H 267.3°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).
Color values
| HEX | #1A308E |
|---|---|
| RGB | rgb(26, 48, 142) |
| HSL | hsl(229, 69%, 33%) |
| HSV | hsv(229, 82%, 56%) |
| CMYK | cmyk(81.7%, 66.2%, 0%, 44.3%) |
| CIE-LAB | lab(24.59, 28.05, -54.21) |
| CIE-LCH | lch(24.59, 61.04, 297.36°) |
| OKLab | oklab(36.09% -0.0075 -0.1569) |
| OKLCH | oklch(36.09% 0.157 267.3) |
| XYZ | xyz(6.3637, 4.2858, 26.0778) |
| Luminance | 0.0429 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.56
Royal
#0C1793
ΔE00 6.68
Blueberry
#464196
ΔE00 6.86
Darkslateblue
#483D8B
ΔE00 7.10
Midnight Blue
#191970
ΔE00 7.35
Darkish Blue
#014182
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A308E #8E781A
analogous
#1A6A8E #1A308E #3E1A8E
triadic
#1A308E #8E1A30 #308E1A
tetradic
#1A308E #8E1A6A #8E781A #1A8E3E
square
#1A308E #8E1A6A #8E781A #1A8E3E
split-complementary
#1A308E #8E3E1A #6A8E1A
monochromatic
#070D27 #111F5A #1A308E #2341C2 #4562DD
Accessibility & contrast
On white
11.31
#1A308E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#1A308E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A308E
11.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A308E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A308E | 1.00 | 11.31 | 1.86 | 11.31 |
| #FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1a308e; /* rgb */ color: rgb(26, 48, 142); /* oklch */ color: oklch(36.1% 0.157 267.3);
Tailwind
colors: {
custom: {
50: '#6c68b0',
500: '#1a308e',
950: '#000000',
},
}SCSS
$custom: #1a308e; $custom-light: #6c68b0; $custom-dark: #000000;
JSON
{
"hex": "#1a308e",
"rgb": {
"r": 26,
"g": 48,
"b": 142
},
"hsl": {
"h": 228.621,
"s": 69.048,
"l": 32.941
},
"oklch": {
"l": 0.3609,
"c": 0.15712,
"h": 267.3
},
"luminance": 0.04287
}Semantic roles & 50–950 ramp
primary
#1A308E
secondary
#BEA745
accent
#CB3CEC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80