#2548AD#2548AD

#2548AD is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.167 H 265.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2548AD
RGBrgb(37, 72, 173)
HSLhsl(225, 65%, 41%)
HSVhsv(225, 79%, 68%)
CMYKcmyk(78.6%, 58.4%, 0%, 32.2%)
CIE-LABlab(34.07, 24.99, -57.52)
CIE-LCHlch(34.07, 62.72, 293.48°)
OKLaboklab(44.09% -0.0134 -0.1661)
OKLCHoklch(44.09% 0.167 265.4)
XYZxyz(10.6205, 8.0440, 40.5200)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2548AD #AD8A25
analogous
#258CAD #2548AD #4625AD
triadic
#2548AD #AD2548 #48AD25
tetradic
#2548AD #AD258C #AD8A25 #25AD46
square
#2548AD #AD258C #AD8A25 #25AD46
split-complementary
#2548AD #AD4625 #8CAD25
monochromatic
#0F1E48 #1A337B #2548AD #3A62D5 #6D8AE0

Accessibility & contrast

On white

8.05
#2548AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2548AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2548AD
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2548AD#FFFFFF#000000##FFFFFF
##2548AD1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B0
Deuteranopia (green-blind)
#004AAB
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2548ad;
/* rgb */ color: rgb(37, 72, 173);
/* oklch */ color: oklch(44.1% 0.167 265.4);
Tailwind
colors: {
  custom: {
    50: '#757ac6',
    500: '#2548ad',
    950: '#000000',
  },
}
SCSS
$custom: #2548ad;
$custom-light: #757ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#2548ad",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 173
  },
  "hsl": {
    "h": 224.559,
    "s": 64.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4409,
    "c": 0.16667,
    "h": 265.4
  },
  "luminance": 0.08045
}

Semantic roles & 50–950 ramp

primary
#2548AD
secondary
#C6AE68
accent
#BD40E8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2548AD

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

Preview Lab → · Contrast checker → · Palette generator →

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