#2548A1#2548A1

#2548A1 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.150 H 264.6°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2548A1
RGBrgb(37, 72, 161)
HSLhsl(223, 63%, 39%)
HSVhsv(223, 77%, 63%)
CMYKcmyk(77%, 55.3%, 0%, 36.9%)
CIE-LABlab(33.14, 20.34, -51.86)
CIE-LCHlch(33.14, 55.71, 291.41°)
OKLaboklab(43.09% -0.0141 -0.1495)
OKLCHoklch(43.09% 0.15 264.6)
XYZxyz(9.5111, 7.6002, 34.6770)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2548A1 #A17E25
analogous
#2586A1 #2548A1 #4025A1
triadic
#2548A1 #A12548 #48A125
tetradic
#2548A1 #A12586 #A17E25 #25A140
square
#2548A1 #A12586 #A17E25 #25A140
split-complementary
#2548A1 #A14025 #86A125
monochromatic
#0E1B3D #1A326F #2548A1 #335FD0 #6586DC

Accessibility & contrast

On white

8.33
#2548A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2548A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2548A1#FFFFFF#000000##FFFFFF
##2548A11.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#00489F
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2548a1;
/* rgb */ color: rgb(37, 72, 161);
/* oklch */ color: oklch(43.1% 0.150 264.6);
Tailwind
colors: {
  custom: {
    50: '#737abd',
    500: '#2548a1',
    950: '#000000',
  },
}
SCSS
$custom: #2548a1;
$custom-light: #737abd;
$custom-dark: #000000;
JSON
{
  "hex": "#2548a1",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 161
  },
  "hsl": {
    "h": 223.065,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43089,
    "c": 0.15016,
    "h": 264.6
  },
  "luminance": 0.07601
}

Semantic roles & 50–950 ramp

primary
#2548A1
secondary
#C1A661
accent
#B842E6
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2548A1

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

Preview Lab → · Contrast checker → · Palette generator →

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