#2548AF#2548AF
#2548AF is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.169 H 265.5°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2548AF |
|---|---|
| RGB | rgb(37, 72, 175) |
| HSL | hsl(225, 65%, 42%) |
| HSV | hsv(225, 79%, 69%) |
| CMYK | cmyk(78.9%, 58.9%, 0%, 31.4%) |
| CIE-LAB | lab(34.24, 25.76, -58.45) |
| CIE-LCH | lch(34.24, 63.87, 293.78°) |
| OKLab | oklab(44.26% -0.0133 -0.1688) |
| OKLCH | oklch(44.26% 0.169 265.5) |
| XYZ | xyz(10.8154, 8.1219, 41.5468) |
| Luminance | 0.0812 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.35
Blue Blue
#2242C7
ΔE00 4.03
Sapphire
#0F52BA
ΔE00 4.05
Sapphire (survey)
#2138AB
ΔE00 4.99
Cobalt (survey)
#1E488F
ΔE00 5.01
Blue (survey)
#0343DF
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2548AF #AF8C25
analogous
#258DAF #2548AF #4725AF
triadic
#2548AF #AF2548 #48AF25
tetradic
#2548AF #AF258D #AF8C25 #25AF47
square
#2548AF #AF258D #AF8C25 #25AF47
split-complementary
#2548AF #AF4725 #8DAF25
monochromatic
#101E4A #1A337C #2548AF #3C63D6 #6E8BE0
Accessibility & contrast
On white
8.00
#2548AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#2548AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2548AF
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2548AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2548AF | 1.00 | 8.00 | 2.62 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2548af; /* rgb */ color: rgb(37, 72, 175); /* oklch */ color: oklch(44.3% 0.169 265.5);
Tailwind
colors: {
custom: {
50: '#767ac8',
500: '#2548af',
950: '#000000',
},
}SCSS
$custom: #2548af; $custom-light: #767ac8; $custom-dark: #000000;
JSON
{
"hex": "#2548af",
"rgb": {
"r": 37,
"g": 72,
"b": 175
},
"hsl": {
"h": 224.783,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.44261,
"c": 0.16937,
"h": 265.5
},
"luminance": 0.08123
}Semantic roles & 50–950 ramp
primary
#2548AF
secondary
#C7AF69
accent
#BD40E8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82