#3054AF#3054AF
#3054AF is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.2% C 0.151 H 264.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #3054AF |
|---|---|
| RGB | rgb(48, 84, 175) |
| HSL | hsl(223, 57%, 44%) |
| HSV | hsv(223, 73%, 69%) |
| CMYK | cmyk(72.6%, 52%, 0%, 31.4%) |
| CIE-LAB | lab(37.96, 19.13, -52.39) |
| CIE-LCH | lch(37.96, 55.78, 290.06°) |
| OKLab | oklab(47.19% -0.0135 -0.1506) |
| OKLCH | oklch(47.19% 0.151 264.9) |
| XYZ | xyz(12.1244, 10.0629, 41.8525) |
| Luminance | 0.1006 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.34
Cobalt
#0047AB
ΔE00 4.51
Denim Blue
#3B5B92
ΔE00 4.60
Dusk Blue
#26538D
ΔE00 5.16
Denim
#1560BD
ΔE00 5.45
Cobalt (survey)
#1E488F
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3054AF #AF8B30
analogous
#3093AF #3054AF #4B30AF
triadic
#3054AF #AF3054 #54AF30
tetradic
#3054AF #AF3093 #AF8B30 #30AF4B
square
#3054AF #AF3093 #AF8B30 #30AF4B
split-complementary
#3054AF #AF4B30 #93AF30
monochromatic
#16264F #233D7F #3054AF #4E72CE #7E98DC
Accessibility & contrast
On white
6.97
#3054AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#3054AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3054AF
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3054AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3054AF | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#195FB2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #3054af; /* rgb */ color: rgb(48, 84, 175); /* oklch */ color: oklch(47.2% 0.151 264.9);
Tailwind
colors: {
custom: {
50: '#7983c7',
500: '#3054af',
950: '#000000',
},
}SCSS
$custom: #3054af; $custom-light: #7983c7; $custom-dark: #000000;
JSON
{
"hex": "#3054af",
"rgb": {
"r": 48,
"g": 84,
"b": 175
},
"hsl": {
"h": 222.992,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.47192,
"c": 0.15125,
"h": 264.9
},
"luminance": 0.10064
}Semantic roles & 50–950 ramp
primary
#3054AF
secondary
#C4AE76
accent
#B548E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82