#2864AF#2864AF
#2864AF is a mid, vivid cyan. Relative luminance 0.127; OKLCH L 50.4% C 0.134 H 255.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2864AF |
|---|---|
| RGB | rgb(40, 100, 175) |
| HSL | hsl(213, 63%, 42%) |
| HSV | hsv(213, 77%, 69%) |
| CMYK | cmyk(77.1%, 42.9%, 0%, 31.4%) |
| CIE-LAB | lab(42.24, 7.66, -45.51) |
| CIE-LCH | lch(42.24, 46.15, 279.55°) |
| OKLab | oklab(50.41% -0.0331 -0.1302) |
| OKLCH | oklch(50.41% 0.134 255.7) |
| XYZ | xyz(13.1672, 12.6591, 42.2986) |
| Luminance | 0.1266 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Denim
#1560BD
ΔE00 2.01
Mid Blue
#276AB3
ΔE00 2.29
French Blue
#436BAD
ΔE00 3.56
Medium Blue
#2C6FBB
ΔE00 4.09
Denim (survey)
#3B638C
ΔE00 4.22
Denim Blue
#3B5B92
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2864AF #AF7328
analogous
#28A8AF #2864AF #2F28AF
triadic
#2864AF #AF2864 #64AF28
tetradic
#2864AF #AF28A8 #AF7328 #28AF2F
square
#2864AF #AF28A8 #AF7328 #28AF2F
split-complementary
#2864AF #AF2F28 #A8AF28
monochromatic
#112B4B #1D487D #2864AF #4182D4 #73A3DF
Accessibility & contrast
On white
5.95
#2864AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#2864AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2864AF
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2864AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2864AF | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F6AB2
Deuteranopia (green-blind)
#265EAE
Tritanopia (blue-blind)
#007681
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2864af; /* rgb */ color: rgb(40, 100, 175); /* oklch */ color: oklch(50.4% 0.134 255.7);
Tailwind
colors: {
custom: {
50: '#768fc7',
500: '#2864af',
950: '#000000',
},
}SCSS
$custom: #2864af; $custom-light: #768fc7; $custom-dark: #000000;
JSON
{
"hex": "#2864af",
"rgb": {
"r": 40,
"g": 100,
"b": 175
},
"hsl": {
"h": 213.333,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.50406,
"c": 0.13437,
"h": 255.7
},
"luminance": 0.12661
}Semantic roles & 50–950 ramp
primary
#2864AF
secondary
#C69E6D
accent
#9D42E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82