#2641AF#2641AF
#2641AF is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.9% C 0.178 H 267.4°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2641AF |
|---|---|
| RGB | rgb(38, 65, 175) |
| HSL | hsl(228, 64%, 42%) |
| HSV | hsv(228, 78%, 69%) |
| CMYK | cmyk(78.3%, 62.9%, 0%, 31.4%) |
| CIE-LAB | lab(32.45, 30.50, -61.36) |
| CIE-LCH | lch(32.45, 68.53, 296.43°) |
| OKLab | oklab(42.94% -0.008 -0.1775) |
| OKLCH | oklch(42.94% 0.178 267.4) |
| XYZ | xyz(10.4248, 7.2866, 41.4062) |
| Luminance | 0.0729 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.68
Blue Blue
#2242C7
ΔE00 3.21
Cobalt
#0047AB
ΔE00 3.85
Ocean Blue
#4F42B5
ΔE00 5.54
Blueberry
#464196
ΔE00 5.72
Blue (survey)
#0343DF
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2641AF #AF9426
analogous
#2686AF #2641AF #5026AF
triadic
#2641AF #AF2641 #41AF26
tetradic
#2641AF #AF2686 #AF9426 #26AF50
square
#2641AF #AF2686 #AF9426 #26AF50
split-complementary
#2641AF #AF5026 #86AF26
monochromatic
#101C4A #1B2E7D #2641AF #3D5BD5 #7086E0
Accessibility & contrast
On white
8.54
#2641AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2641AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2641AF
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2641AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2641AF | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2641af; /* rgb */ color: rgb(38, 65, 175); /* oklch */ color: oklch(42.9% 0.178 267.4);
Tailwind
colors: {
custom: {
50: '#7775c8',
500: '#2641af',
950: '#000000',
},
}SCSS
$custom: #2641af; $custom-light: #7775c8; $custom-dark: #000000;
JSON
{
"hex": "#2641af",
"rgb": {
"r": 38,
"g": 65,
"b": 175
},
"hsl": {
"h": 228.175,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.42944,
"c": 0.17765,
"h": 267.4
},
"luminance": 0.07288
}Semantic roles & 50–950 ramp
primary
#2641AF
secondary
#C7B46A
accent
#C640E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82