#2846AF#2846AF
#2846AF is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.171 H 266.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2846AF |
|---|---|
| RGB | rgb(40, 70, 175) |
| HSL | hsl(227, 63%, 42%) |
| HSV | hsv(227, 77%, 69%) |
| CMYK | cmyk(77.1%, 60%, 0%, 31.4%) |
| CIE-LAB | lab(33.83, 27.41, -59.11) |
| CIE-LCH | lch(33.83, 65.16, 294.88°) |
| OKLab | oklab(43.99% -0.0095 -0.1708) |
| OKLCH | oklch(43.99% 0.171 266.8) |
| XYZ | xyz(10.8004, 7.9254, 41.5097) |
| Luminance | 0.0793 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.92
Blue Blue
#2242C7
ΔE00 3.57
Sapphire (survey)
#2138AB
ΔE00 4.24
Sapphire
#0F52BA
ΔE00 4.84
Cobalt (survey)
#1E488F
ΔE00 5.47
Ocean Blue
#4F42B5
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2846AF #AF9128
analogous
#2889AF #2846AF #4E28AF
triadic
#2846AF #AF2846 #46AF28
tetradic
#2846AF #AF2889 #AF9128 #28AF4E
square
#2846AF #AF2889 #AF9128 #28AF4E
split-complementary
#2846AF #AF4E28 #89AF28
monochromatic
#111E4B #1D327D #2846AF #4161D4 #738BDF
Accessibility & contrast
On white
8.12
#2846AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2846AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2846AF
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2846AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2846AF | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2846af; /* rgb */ color: rgb(40, 70, 175); /* oklch */ color: oklch(44.0% 0.171 266.8);
Tailwind
colors: {
custom: {
50: '#7779c8',
500: '#2846af',
950: '#000000',
},
}SCSS
$custom: #2846af; $custom-light: #7779c8; $custom-dark: #000000;
JSON
{
"hex": "#2846af",
"rgb": {
"r": 40,
"g": 70,
"b": 175
},
"hsl": {
"h": 226.667,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.4399,
"c": 0.17104,
"h": 266.8
},
"luminance": 0.07927
}Semantic roles & 50–950 ramp
primary
#2846AF
secondary
#C6B26D
accent
#C142E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82