#2548AC#2548AC

#2548AC is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.165 H 265.3°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#2548AC
RGBrgb(37, 72, 172)
HSLhsl(224, 65%, 41%)
HSVhsv(224, 78%, 67%)
CMYKcmyk(78.5%, 58.1%, 0%, 32.5%)
CIE-LABlab(33.99, 24.60, -57.06)
CIE-LCHlch(33.99, 62.14, 293.33°)
OKLaboklab(44.01% -0.0134 -0.1648)
OKLCHoklch(44.01% 0.165 265.3)
XYZxyz(10.5241, 8.0054, 40.0123)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2548AC #AC8925
analogous
#258BAC #2548AC #4525AC
triadic
#2548AC #AC2548 #48AC25
tetradic
#2548AC #AC258B #AC8925 #25AC45
square
#2548AC #AC258B #AC8925 #25AC45
split-complementary
#2548AC #AC4525 #8BAC25
monochromatic
#0F1E47 #1A337A #2548AC #3A62D5 #6C8ADF

Accessibility & contrast

On white

8.07
#2548AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2548AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2548AC
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2548AC#FFFFFF#000000##FFFFFF
##2548AC1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2548ac;
/* rgb */ color: rgb(37, 72, 172);
/* oklch */ color: oklch(44.0% 0.165 265.3);
Tailwind
colors: {
  custom: {
    50: '#757ac6',
    500: '#2548ac',
    950: '#000000',
  },
}
SCSS
$custom: #2548ac;
$custom-light: #757ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#2548ac",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 172
  },
  "hsl": {
    "h": 224.444,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44005,
    "c": 0.16531,
    "h": 265.3
  },
  "luminance": 0.08007
}

Semantic roles & 50–950 ramp

primary
#2548AC
secondary
#C6AD67
accent
#BC40E8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2548AC

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

Preview Lab → · Contrast checker → · Palette generator →

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