#2548AA#2548AA

#2548AA is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.163 H 265.2°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2548AA
RGBrgb(37, 72, 170)
HSLhsl(224, 64%, 41%)
HSVhsv(224, 78%, 67%)
CMYKcmyk(78.2%, 57.6%, 0%, 33.3%)
CIE-LABlab(33.83, 23.83, -56.12)
CIE-LCHlch(33.83, 60.97, 293.01°)
OKLaboklab(43.84% -0.0135 -0.162)
OKLCHoklch(43.84% 0.163 265.2)
XYZxyz(10.3334, 7.9291, 39.0083)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2548AA #AA8725
analogous
#258AAA #2548AA #4525AA
triadic
#2548AA #AA2548 #48AA25
tetradic
#2548AA #AA258A #AA8725 #25AA45
square
#2548AA #AA258A #AA8725 #25AA45
split-complementary
#2548AA #AA4525 #8AAA25
monochromatic
#0F1D45 #1A3378 #2548AA #3861D4 #6B89DF

Accessibility & contrast

On white

8.12
#2548AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2548AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2548AA#FFFFFF#000000##FFFFFF
##2548AA1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2548aa;
/* rgb */ color: rgb(37, 72, 170);
/* oklch */ color: oklch(43.8% 0.163 265.2);
Tailwind
colors: {
  custom: {
    50: '#757ac4',
    500: '#2548aa',
    950: '#000000',
  },
}
SCSS
$custom: #2548aa;
$custom-light: #757ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#2548aa",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 170
  },
  "hsl": {
    "h": 224.211,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43836,
    "c": 0.16258,
    "h": 265.2
  },
  "luminance": 0.0793
}

Semantic roles & 50–950 ramp

primary
#2548AA
secondary
#C5AC66
accent
#BB41E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2548AA

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

Preview Lab → · Contrast checker → · Palette generator →

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