#2548A5#2548A5

#2548A5 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.156 H 264.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#2548A5
RGBrgb(37, 72, 165)
HSLhsl(224, 63%, 40%)
HSVhsv(224, 78%, 65%)
CMYKcmyk(77.6%, 56.4%, 0%, 35.3%)
CIE-LABlab(33.44, 21.89, -53.77)
CIE-LCHlch(33.44, 58.06, 292.16°)
OKLaboklab(43.42% -0.0138 -0.1551)
OKLCHoklch(43.42% 0.156 264.9)
XYZxyz(9.8694, 7.7435, 36.5645)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2548A5 #A58225
analogous
#2588A5 #2548A5 #4225A5
triadic
#2548A5 #A52548 #48A525
tetradic
#2548A5 #A52588 #A58225 #25A542
square
#2548A5 #A52588 #A58225 #25A542
split-complementary
#2548A5 #A54225 #88A525
monochromatic
#0F1C41 #1A3273 #2548A5 #3560D2 #6788DD

Accessibility & contrast

On white

8.24
#2548A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2548A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2548A5
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2548A5#FFFFFF#000000##FFFFFF
##2548A51.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#0049A3
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2548a5;
/* rgb */ color: rgb(37, 72, 165);
/* oklch */ color: oklch(43.4% 0.156 264.9);
Tailwind
colors: {
  custom: {
    50: '#747ac0',
    500: '#2548a5',
    950: '#000000',
  },
}
SCSS
$custom: #2548a5;
$custom-light: #747ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#2548a5",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 165
  },
  "hsl": {
    "h": 223.594,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43418,
    "c": 0.15571,
    "h": 264.9
  },
  "luminance": 0.07745
}

Semantic roles & 50–950 ramp

primary
#2548A5
secondary
#C3A963
accent
#B941E6
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2548A5

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2548A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva