#2548AB#2548AB

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

Color values

HEX#2548AB
RGBrgb(37, 72, 171)
HSLhsl(224, 64%, 41%)
HSVhsv(224, 78%, 67%)
CMYKcmyk(78.4%, 57.9%, 0%, 32.9%)
CIE-LABlab(33.91, 24.22, -56.59)
CIE-LCHlch(33.91, 61.56, 293.17°)
OKLaboklab(43.92% -0.0135 -0.1634)
OKLCHoklch(43.92% 0.164 265.3)
XYZxyz(10.4284, 7.9671, 39.5084)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2548AB #AB8825
analogous
#258BAB #2548AB #4525AB
triadic
#2548AB #AB2548 #48AB25
tetradic
#2548AB #AB258B #AB8825 #25AB45
square
#2548AB #AB258B #AB8825 #25AB45
split-complementary
#2548AB #AB4525 #8BAB25
monochromatic
#0F1E46 #1A3379 #2548AB #3962D4 #6B8ADF

Accessibility & contrast

On white

8.10
#2548AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2548AB#FFFFFF#000000##FFFFFF
##2548AB1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2548ab;
/* rgb */ color: rgb(37, 72, 171);
/* oklch */ color: oklch(43.9% 0.164 265.3);
Tailwind
colors: {
  custom: {
    50: '#757ac5',
    500: '#2548ab',
    950: '#000000',
  },
}
SCSS
$custom: #2548ab;
$custom-light: #757ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#2548ab",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 224.328,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4392,
    "c": 0.16395,
    "h": 265.3
  },
  "luminance": 0.07968
}

Semantic roles & 50–950 ramp

primary
#2548AB
secondary
#C5AD67
accent
#BC40E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2548AB

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

Preview Lab → · Contrast checker → · Palette generator →

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