#2645AF#2645AF
#2645AF is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.173 H 266.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2645AF |
|---|---|
| RGB | rgb(38, 69, 175) |
| HSL | hsl(226, 64%, 42%) |
| HSV | hsv(226, 78%, 69%) |
| CMYK | cmyk(78.3%, 60.6%, 0%, 31.4%) |
| CIE-LAB | lab(33.48, 27.86, -59.68) |
| CIE-LCH | lch(33.48, 65.86, 295.02°) |
| OKLab | oklab(43.71% -0.0105 -0.1725) |
| OKLCH | oklch(43.71% 0.173 266.5) |
| XYZ | xyz(10.6626, 7.7622, 41.4854) |
| Luminance | 0.0776 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.92
Blue Blue
#2242C7
ΔE00 3.49
Sapphire (survey)
#2138AB
ΔE00 3.96
Sapphire
#0F52BA
ΔE00 5.05
Cobalt (survey)
#1E488F
ΔE00 5.51
Ocean Blue
#4F42B5
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2645AF #AF9026
analogous
#268AAF #2645AF #4B26AF
triadic
#2645AF #AF2645 #45AF26
tetradic
#2645AF #AF268A #AF9026 #26AF4B
square
#2645AF #AF268A #AF9026 #26AF4B
split-complementary
#2645AF #AF4B26 #8AAF26
monochromatic
#101D4A #1B317D #2645AF #3D60D5 #7089E0
Accessibility & contrast
On white
8.23
#2645AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#2645AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2645AF
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2645AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2645AF | 1.00 | 8.23 | 2.55 | 8.23 |
| #FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2645af; /* rgb */ color: rgb(38, 69, 175); /* oklch */ color: oklch(43.7% 0.173 266.5);
Tailwind
colors: {
custom: {
50: '#7778c8',
500: '#2645af',
950: '#000000',
},
}SCSS
$custom: #2645af; $custom-light: #7778c8; $custom-dark: #000000;
JSON
{
"hex": "#2645af",
"rgb": {
"r": 38,
"g": 69,
"b": 175
},
"hsl": {
"h": 226.423,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.4371,
"c": 0.1728,
"h": 266.5
},
"luminance": 0.07763
}Semantic roles & 50–950 ramp
primary
#2645AF
secondary
#C7B26A
accent
#C240E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82