#2552AF#2552AF
#2552AF is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.3% C 0.157 H 262.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2552AF |
|---|---|
| RGB | rgb(37, 82, 175) |
| HSL | hsl(220, 65%, 42%) |
| HSV | hsv(220, 79%, 69%) |
| CMYK | cmyk(78.9%, 53.1%, 0%, 31.4%) |
| CIE-LAB | lab(36.97, 19.09, -54.01) |
| CIE-LCH | lch(36.97, 57.28, 289.47°) |
| OKLab | oklab(46.32% -0.0203 -0.1556) |
| OKLCH | oklch(46.32% 0.157 262.5) |
| XYZ | xyz(11.5153, 9.5217, 41.7801) |
| Luminance | 0.0952 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.56
Cobalt
#0047AB
ΔE00 3.61
Dusk Blue
#26538D
ΔE00 4.67
Denim Blue
#3B5B92
ΔE00 4.93
Cobalt (survey)
#1E488F
ΔE00 5.08
Denim
#1560BD
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2552AF #AF8225
analogous
#2597AF #2552AF #3D25AF
triadic
#2552AF #AF2552 #52AF25
tetradic
#2552AF #AF2597 #AF8225 #25AF3D
square
#2552AF #AF2597 #AF8225 #25AF3D
split-complementary
#2552AF #AF3D25 #97AF25
monochromatic
#10234A #1A3A7C #2552AF #3C6ED6 #6E93E0
Accessibility & contrast
On white
7.23
#2552AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#2552AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2552AF
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2552AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2552AF | 1.00 | 7.23 | 2.90 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C5EB2
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2552af; /* rgb */ color: rgb(37, 82, 175); /* oklch */ color: oklch(46.3% 0.157 262.5);
Tailwind
colors: {
custom: {
50: '#7582c8',
500: '#2552af',
950: '#000000',
},
}SCSS
$custom: #2552af; $custom-light: #7582c8; $custom-dark: #000000;
JSON
{
"hex": "#2552af",
"rgb": {
"r": 37,
"g": 82,
"b": 175
},
"hsl": {
"h": 220.435,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.46324,
"c": 0.15694,
"h": 262.5
},
"luminance": 0.09523
}Semantic roles & 50–950 ramp
primary
#2552AF
secondary
#C7A869
accent
#B140E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82