#2548B1#2548B1

#2548B1 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.172 H 265.6°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#2548B1
RGBrgb(37, 72, 177)
HSLhsl(225, 65%, 42%)
HSVhsv(225, 79%, 69%)
CMYKcmyk(79.1%, 59.3%, 0%, 30.6%)
CIE-LABlab(34.40, 26.53, -59.37)
CIE-LCHlch(34.40, 65.03, 294.07°)
OKLaboklab(44.43% -0.0132 -0.1716)
OKLCHoklch(44.43% 0.172 265.6)
XYZxyz(11.0133, 8.2011, 42.5890)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2548B1 #B18E25
analogous
#258EB1 #2548B1 #4825B1
triadic
#2548B1 #B12548 #48B125
tetradic
#2548B1 #B1258E #B18E25 #25B148
square
#2548B1 #B1258E #B18E25 #25B148
split-complementary
#2548B1 #B14825 #8EB125
monochromatic
#101F4C #1A337E #2548B1 #3D63D6 #6F8CE1

Accessibility & contrast

On white

7.95
#2548B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2548B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2548B1
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2548B1#FFFFFF#000000##FFFFFF
##2548B11.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2548b1;
/* rgb */ color: rgb(37, 72, 177);
/* oklch */ color: oklch(44.4% 0.172 265.6);
Tailwind
colors: {
  custom: {
    50: '#767ac9',
    500: '#2548b1',
    950: '#000000',
  },
}
SCSS
$custom: #2548b1;
$custom-light: #767ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#2548b1",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 177
  },
  "hsl": {
    "h": 225,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44434,
    "c": 0.17207,
    "h": 265.6
  },
  "luminance": 0.08202
}

Semantic roles & 50–950 ramp

primary
#2548B1
secondary
#C8B06A
accent
#BE3FE8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2548B1

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

Preview Lab → · Contrast checker → · Palette generator →

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