#2548A6#2548A6

#2548A6 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.157 H 265.0°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2548A6
RGBrgb(37, 72, 166)
HSLhsl(224, 64%, 40%)
HSVhsv(224, 78%, 65%)
CMYKcmyk(77.7%, 56.6%, 0%, 34.9%)
CIE-LABlab(33.52, 22.28, -54.24)
CIE-LCHlch(33.52, 58.64, 292.33°)
OKLaboklab(43.5% -0.0137 -0.1565)
OKLCHoklch(43.5% 0.157 265)
XYZxyz(9.9608, 7.7801, 37.0457)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2548A6 #A68325
analogous
#2589A6 #2548A6 #4325A6
triadic
#2548A6 #A62548 #48A625
tetradic
#2548A6 #A62589 #A68325 #25A643
square
#2548A6 #A62589 #A68325 #25A643
split-complementary
#2548A6 #A64325 #89A625
monochromatic
#0F1D42 #1A3274 #2548A6 #3660D2 #6888DD

Accessibility & contrast

On white

8.22
#2548A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2548A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2548A6
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2548A6#FFFFFF#000000##FFFFFF
##2548A61.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2548a6;
/* rgb */ color: rgb(37, 72, 166);
/* oklch */ color: oklch(43.5% 0.157 265.0);
Tailwind
colors: {
  custom: {
    50: '#747ac1',
    500: '#2548a6',
    950: '#000000',
  },
}
SCSS
$custom: #2548a6;
$custom-light: #747ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#2548a6",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 166
  },
  "hsl": {
    "h": 223.721,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43501,
    "c": 0.15709,
    "h": 265
  },
  "luminance": 0.07781
}

Semantic roles & 50–950 ramp

primary
#2548A6
secondary
#C3A964
accent
#BA41E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2548A6

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

Preview Lab → · Contrast checker → · Palette generator →

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