#2548BA#2548BA

#2548BA is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.184 H 265.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#2548BA
RGBrgb(37, 72, 186)
HSLhsl(226, 67%, 44%)
HSVhsv(226, 80%, 73%)
CMYKcmyk(80.1%, 61.3%, 0%, 27.1%)
CIE-LABlab(35.15, 29.96, -63.47)
CIE-LCHlch(35.15, 70.18, 295.27°)
OKLaboklab(45.22% -0.013 -0.1836)
OKLCHoklch(45.22% 0.184 265.9)
XYZxyz(11.9401, 8.5718, 47.4701)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2548BA #BA9725
analogous
#2592BA #2548BA #4C25BA
triadic
#2548BA #BA2548 #48BA25
tetradic
#2548BA #BA2592 #BA9725 #25BA4C
square
#2548BA #BA2592 #BA9725 #25BA4C
split-complementary
#2548BA #BA4C25 #92BA25
monochromatic
#112054 #1B3487 #2548BA #4366DA #7690E4

Accessibility & contrast

On white

7.74
#2548BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2548BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2548BA#FFFFFF#000000##FFFFFF
##2548BA1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2548ba;
/* rgb */ color: rgb(37, 72, 186);
/* oklch */ color: oklch(45.2% 0.184 265.9);
Tailwind
colors: {
  custom: {
    50: '#797ad0',
    500: '#2548ba',
    950: '#000000',
  },
}
SCSS
$custom: #2548ba;
$custom-light: #797ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#2548ba",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 225.906,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45224,
    "c": 0.18404,
    "h": 265.9
  },
  "luminance": 0.08573
}

Semantic roles & 50–950 ramp

primary
#2548BA
secondary
#CBB670
accent
#C13EEA
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2548BA

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

Preview Lab → · Contrast checker → · Palette generator →

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