#2548A8#2548A8

#2548A8 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.160 H 265.1°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#2548A8
RGBrgb(37, 72, 168)
HSLhsl(224, 64%, 40%)
HSVhsv(224, 78%, 66%)
CMYKcmyk(78%, 57.1%, 0%, 34.1%)
CIE-LABlab(33.68, 23.06, -55.19)
CIE-LCHlch(33.68, 59.81, 292.68°)
OKLaboklab(43.67% -0.0136 -0.1593)
OKLCHoklch(43.67% 0.16 265.1)
XYZxyz(10.1457, 7.8540, 38.0195)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2548A8 #A88525
analogous
#258AA8 #2548A8 #4325A8
triadic
#2548A8 #A82548 #48A825
tetradic
#2548A8 #A8258A #A88525 #25A843
square
#2548A8 #A8258A #A88525 #25A843
split-complementary
#2548A8 #A84325 #8AA825
monochromatic
#0F1D44 #1A3376 #2548A8 #3761D3 #6989DE

Accessibility & contrast

On white

8.17
#2548A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2548A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2548A8
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2548A8#FFFFFF#000000##FFFFFF
##2548A81.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#0049A6
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2548a8;
/* rgb */ color: rgb(37, 72, 168);
/* oklch */ color: oklch(43.7% 0.160 265.1);
Tailwind
colors: {
  custom: {
    50: '#747ac3',
    500: '#2548a8',
    950: '#000000',
  },
}
SCSS
$custom: #2548a8;
$custom-light: #747ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2548a8",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 168
  },
  "hsl": {
    "h": 223.969,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43668,
    "c": 0.15985,
    "h": 265.1
  },
  "luminance": 0.07855
}

Semantic roles & 50–950 ramp

primary
#2548A8
secondary
#C4AB65
accent
#BB41E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2548A8

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

Preview Lab → · Contrast checker → · Palette generator →

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