#2849AF#2849AF
#2849AF is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.167 H 266.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2849AF |
|---|---|
| RGB | rgb(40, 73, 175) |
| HSL | hsl(225, 63%, 42%) |
| HSV | hsv(225, 77%, 69%) |
| CMYK | cmyk(77.1%, 58.3%, 0%, 31.4%) |
| CIE-LAB | lab(34.62, 25.42, -57.82) |
| CIE-LCH | lch(34.62, 63.16, 293.73°) |
| OKLab | oklab(44.58% -0.0116 -0.1669) |
| OKLCH | oklch(44.58% 0.167 266) |
| XYZ | xyz(10.9928, 8.3101, 41.5738) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.56
Sapphire
#0F52BA
ΔE00 3.92
Blue Blue
#2242C7
ΔE00 4.12
Cobalt (survey)
#1E488F
ΔE00 5.07
Sapphire (survey)
#2138AB
ΔE00 5.25
Blue (survey)
#0343DF
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2849AF #AF8E28
analogous
#288DAF #2849AF #4A28AF
triadic
#2849AF #AF2849 #49AF28
tetradic
#2849AF #AF288D #AF8E28 #28AF4A
square
#2849AF #AF288D #AF8E28 #28AF4A
split-complementary
#2849AF #AF4A28 #8DAF28
monochromatic
#111F4B #1D347D #2849AF #4165D4 #738DDF
Accessibility & contrast
On white
7.89
#2849AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2849AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2849AF
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2849AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2849AF | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2849af; /* rgb */ color: rgb(40, 73, 175); /* oklch */ color: oklch(44.6% 0.167 266.0);
Tailwind
colors: {
custom: {
50: '#777bc8',
500: '#2849af',
950: '#000000',
},
}SCSS
$custom: #2849af; $custom-light: #777bc8; $custom-dark: #000000;
JSON
{
"hex": "#2849af",
"rgb": {
"r": 40,
"g": 73,
"b": 175
},
"hsl": {
"h": 225.333,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.44583,
"c": 0.16733,
"h": 266
},
"luminance": 0.08311
}Semantic roles & 50–950 ramp
primary
#2849AF
secondary
#C6B06D
accent
#BE42E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82