#2843AF#2843AF
#2843AF is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.4% C 0.175 H 267.5°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2843AF |
|---|---|
| RGB | rgb(40, 67, 175) |
| HSL | hsl(228, 63%, 42%) |
| HSV | hsv(228, 77%, 69%) |
| CMYK | cmyk(77.1%, 61.7%, 0%, 31.4%) |
| CIE-LAB | lab(33.05, 29.39, -60.38) |
| CIE-LCH | lch(33.05, 67.16, 295.95°) |
| OKLab | oklab(43.41% -0.0075 -0.1745) |
| OKLCH | oklch(43.41% 0.175 267.5) |
| XYZ | xyz(10.6174, 7.5594, 41.4487) |
| Luminance | 0.0756 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.24
Sapphire (survey)
#2138AB
ΔE00 3.28
Cobalt
#0047AB
ΔE00 3.53
Ocean Blue
#4F42B5
ΔE00 5.57
Blueberry
#464196
ΔE00 5.73
Sapphire
#0F52BA
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2843AF #AF9428
analogous
#2887AF #2843AF #5128AF
triadic
#2843AF #AF2843 #43AF28
tetradic
#2843AF #AF2887 #AF9428 #28AF51
square
#2843AF #AF2887 #AF9428 #28AF51
split-complementary
#2843AF #AF5128 #87AF28
monochromatic
#111D4B #1D307D #2843AF #415ED4 #7388DF
Accessibility & contrast
On white
8.36
#2843AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#2843AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2843AF
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2843AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2843AF | 1.00 | 8.36 | 2.51 | 8.36 |
| #FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2843af; /* rgb */ color: rgb(40, 67, 175); /* oklch */ color: oklch(43.4% 0.175 267.5);
Tailwind
colors: {
custom: {
50: '#7776c8',
500: '#2843af',
950: '#000000',
},
}SCSS
$custom: #2843af; $custom-light: #7776c8; $custom-dark: #000000;
JSON
{
"hex": "#2843af",
"rgb": {
"r": 40,
"g": 67,
"b": 175
},
"hsl": {
"h": 228,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.4341,
"c": 0.1747,
"h": 267.5
},
"luminance": 0.07561
}Semantic roles & 50–950 ramp
primary
#2843AF
secondary
#C6B46D
accent
#C542E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82