#2645BA#2645BA
#2645BA is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.7% C 0.187 H 266.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2645BA |
|---|---|
| RGB | rgb(38, 69, 186) |
| HSL | hsl(227, 66%, 44%) |
| HSV | hsv(227, 80%, 73%) |
| CMYK | cmyk(79.6%, 62.9%, 0%, 27.1%) |
| CIE-LAB | lab(34.42, 32.01, -64.65) |
| CIE-LCH | lch(34.42, 72.15, 296.34°) |
| OKLab | oklab(44.7% -0.0105 -0.1871) |
| OKLCH | oklch(44.7% 0.187 266.8) |
| XYZ | xyz(11.7873, 8.2121, 47.4087) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.00
Cobalt
#0047AB
ΔE00 3.94
Sapphire (survey)
#2138AB
ΔE00 4.19
Blue (survey)
#0343DF
ΔE00 4.55
Sapphire
#0F52BA
ΔE00 5.20
Ocean Blue
#4F42B5
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2645BA #BA9B26
analogous
#268FBA #2645BA #5126BA
triadic
#2645BA #BA2645 #45BA26
tetradic
#2645BA #BA268F #BA9B26 #26BA51
square
#2645BA #BA268F #BA9B26 #26BA51
split-complementary
#2645BA #BA5126 #8FBA26
monochromatic
#111F54 #1C3287 #2645BA #4463D9 #778EE3
Accessibility & contrast
On white
7.95
#2645BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2645BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2645BA
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2645BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2645BA | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#004AB8
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2645ba; /* rgb */ color: rgb(38, 69, 186); /* oklch */ color: oklch(44.7% 0.187 266.8);
Tailwind
colors: {
custom: {
50: '#7978d0',
500: '#2645ba',
950: '#000000',
},
}SCSS
$custom: #2645ba; $custom-light: #7978d0; $custom-dark: #000000;
JSON
{
"hex": "#2645ba",
"rgb": {
"r": 38,
"g": 69,
"b": 186
},
"hsl": {
"h": 227.432,
"s": 66.071,
"l": 43.922
},
"oklch": {
"l": 0.44697,
"c": 0.18737,
"h": 266.8
},
"luminance": 0.08213
}Semantic roles & 50–950 ramp
primary
#2645BA
secondary
#CBB871
accent
#C53FE9
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82