#2654AF#2654AF
#2654AF is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.8% C 0.154 H 262.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2654AF |
|---|---|
| RGB | rgb(38, 84, 175) |
| HSL | hsl(220, 64%, 42%) |
| HSV | hsv(220, 78%, 69%) |
| CMYK | cmyk(78.3%, 52%, 0%, 31.4%) |
| CIE-LAB | lab(37.57, 17.87, -53.04) |
| CIE-LCH | lch(37.57, 55.97, 288.62°) |
| OKLab | oklab(46.79% -0.0212 -0.1527) |
| OKLCH | oklch(46.79% 0.154 262.1) |
| XYZ | xyz(11.7047, 9.8465, 41.8328) |
| Luminance | 0.0985 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.64
Cobalt
#0047AB
ΔE00 4.21
Dusk Blue
#26538D
ΔE00 4.52
Denim Blue
#3B5B92
ΔE00 4.54
Denim
#1560BD
ΔE00 4.81
Cobalt (survey)
#1E488F
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2654AF #AF8126
analogous
#2699AF #2654AF #3D26AF
triadic
#2654AF #AF2654 #54AF26
tetradic
#2654AF #AF2699 #AF8126 #26AF3D
square
#2654AF #AF2699 #AF8126 #26AF3D
split-complementary
#2654AF #AF3D26 #99AF26
monochromatic
#10244A #1B3C7D #2654AF #3D70D5 #7095E0
Accessibility & contrast
On white
7.07
#2654AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#2654AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2654AF
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2654AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2654AF | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#175FB2
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2654af; /* rgb */ color: rgb(38, 84, 175); /* oklch */ color: oklch(46.8% 0.154 262.1);
Tailwind
colors: {
custom: {
50: '#7683c7',
500: '#2654af',
950: '#000000',
},
}SCSS
$custom: #2654af; $custom-light: #7683c7; $custom-dark: #000000;
JSON
{
"hex": "#2654af",
"rgb": {
"r": 38,
"g": 84,
"b": 175
},
"hsl": {
"h": 219.854,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.46787,
"c": 0.15418,
"h": 262.1
},
"luminance": 0.09848
}Semantic roles & 50–950 ramp
primary
#2654AF
secondary
#C7A86A
accent
#AF40E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82