#2559B3#2559B3
#2559B3 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.1% C 0.154 H 260.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2559B3 |
|---|---|
| RGB | rgb(37, 89, 179) |
| HSL | hsl(218, 66%, 42%) |
| HSV | hsv(218, 79%, 70%) |
| CMYK | cmyk(79.3%, 50.3%, 0%, 29.8%) |
| CIE-LAB | lab(39.23, 16.01, -52.72) |
| CIE-LCH | lch(39.23, 55.10, 286.90°) |
| OKLab | oklab(48.14% -0.0252 -0.1517) |
| OKLCH | oklch(48.14% 0.154 260.6) |
| XYZ | xyz(12.4691, 10.7913, 44.0648) |
| Luminance | 0.1079 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.48
Denim
#1560BD
ΔE00 3.03
Denim Blue
#3B5B92
ΔE00 4.37
Dusk Blue
#26538D
ΔE00 4.97
Light Navy Blue
#2E5A88
ΔE00 5.18
Denim (survey)
#3B638C
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2559B3 #B37F25
analogous
#25A0B3 #2559B3 #3825B3
triadic
#2559B3 #B32559 #59B325
tetradic
#2559B3 #B325A0 #B37F25 #25B338
square
#2559B3 #B325A0 #B37F25 #25B338
split-complementary
#2559B3 #B33825 #A0B325
monochromatic
#10274E #1B4080 #2559B3 #3E76D7 #719AE2
Accessibility & contrast
On white
6.65
#2559B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#2559B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2559B3
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2559B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2559B3 | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2263B6
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2559b3; /* rgb */ color: rgb(37, 89, 179); /* oklch */ color: oklch(48.1% 0.154 260.6);
Tailwind
colors: {
custom: {
50: '#7687ca',
500: '#2559b3',
950: '#000000',
},
}SCSS
$custom: #2559b3; $custom-light: #7687ca; $custom-dark: #000000;
JSON
{
"hex": "#2559b3",
"rgb": {
"r": 37,
"g": 89,
"b": 179
},
"hsl": {
"h": 218.028,
"s": 65.741,
"l": 42.353
},
"oklch": {
"l": 0.48136,
"c": 0.15377,
"h": 260.6
},
"luminance": 0.10793
}Semantic roles & 50–950 ramp
primary
#2559B3
secondary
#C8A66B
accent
#AB3FE9
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82