#304AA0#304AA0
#304AA0 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.143 H 267.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #304AA0 |
|---|---|
| RGB | rgb(48, 74, 160) |
| HSL | hsl(226, 54%, 41%) |
| HSV | hsv(226, 70%, 63%) |
| CMYK | cmyk(70%, 53.7%, 0%, 37.3%) |
| CIE-LAB | lab(34.11, 20.12, -49.65) |
| CIE-LCH | lch(34.11, 53.58, 292.06°) |
| OKLab | oklab(43.94% -0.0062 -0.1427) |
| OKLCH | oklch(43.94% 0.143 267.5) |
| XYZ | xyz(10.0107, 8.0630, 34.2796) |
| Luminance | 0.0806 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.22
Cobalt (survey)
#1E488F
ΔE00 3.68
Sapphire
#0F52BA
ΔE00 4.84
Dusk Blue
#26538D
ΔE00 5.62
Blueberry
#464196
ΔE00 5.76
Sapphire (survey)
#2138AB
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#304AA0 #A08630
analogous
#3082A0 #304AA0 #4E30A0
triadic
#304AA0 #A0304A #4AA030
tetradic
#304AA0 #A03082 #A08630 #30A04E
square
#304AA0 #A03082 #A08630 #30A04E
split-complementary
#304AA0 #A04E30 #82A030
monochromatic
#141E42 #223471 #304AA0 #4664C7 #758BD6
Accessibility & contrast
On white
8.04
#304AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#304AA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #304AA0
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##304AA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##304AA0 | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E56A3
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #304aa0; /* rgb */ color: rgb(48, 74, 160); /* oklch */ color: oklch(43.9% 0.143 267.5);
Tailwind
colors: {
custom: {
50: '#767cbd',
500: '#304aa0',
950: '#000000',
},
}SCSS
$custom: #304aa0; $custom-light: #767cbd; $custom-dark: #000000;
JSON
{
"hex": "#304aa0",
"rgb": {
"r": 48,
"g": 74,
"b": 160
},
"hsl": {
"h": 226.071,
"s": 53.846,
"l": 40.784
},
"oklch": {
"l": 0.43941,
"c": 0.14289,
"h": 267.5
},
"luminance": 0.08064
}Semantic roles & 50–950 ramp
primary
#304AA0
secondary
#BEAB6E
accent
#BB4BDD
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0912
muted
#7C7B81