#2548AE#2548AE

#2548AE is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.2% C 0.168 H 265.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#2548AE
RGBrgb(37, 72, 174)
HSLhsl(225, 65%, 41%)
HSVhsv(225, 79%, 68%)
CMYKcmyk(78.7%, 58.6%, 0%, 31.8%)
CIE-LABlab(34.15, 25.37, -57.99)
CIE-LCHlch(34.15, 63.30, 293.63°)
OKLaboklab(44.18% -0.0133 -0.1675)
OKLCHoklch(44.18% 0.168 265.4)
XYZxyz(10.7176, 8.0828, 41.0315)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2548AE #AE8B25
analogous
#258DAE #2548AE #4725AE
triadic
#2548AE #AE2548 #48AE25
tetradic
#2548AE #AE258D #AE8B25 #25AE47
square
#2548AE #AE258D #AE8B25 #25AE47
split-complementary
#2548AE #AE4725 #8DAE25
monochromatic
#101E49 #1A337C #2548AE #3B62D5 #6D8BE0

Accessibility & contrast

On white

8.03
#2548AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2548AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2548AE#FFFFFF#000000##FFFFFF
##2548AE1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2548ae;
/* rgb */ color: rgb(37, 72, 174);
/* oklch */ color: oklch(44.2% 0.168 265.4);
Tailwind
colors: {
  custom: {
    50: '#767ac7',
    500: '#2548ae',
    950: '#000000',
  },
}
SCSS
$custom: #2548ae;
$custom-light: #767ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2548ae",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 174
  },
  "hsl": {
    "h": 224.672,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44176,
    "c": 0.16803,
    "h": 265.4
  },
  "luminance": 0.08084
}

Semantic roles & 50–950 ramp

primary
#2548AE
secondary
#C6AE68
accent
#BD40E8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2548AE

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

Preview Lab → · Contrast checker → · Palette generator →

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