#2548B3#2548B3

#2548B3 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.175 H 265.7°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#2548B3
RGBrgb(37, 72, 179)
HSLhsl(225, 66%, 42%)
HSVhsv(225, 79%, 70%)
CMYKcmyk(79.3%, 59.8%, 0%, 29.8%)
CIE-LABlab(34.56, 27.29, -60.29)
CIE-LCHlch(34.56, 66.18, 294.36°)
OKLaboklab(44.61% -0.0132 -0.1743)
OKLCHoklch(44.61% 0.175 265.7)
XYZxyz(11.2141, 8.2814, 43.6465)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2548B3 #B39025
analogous
#258FB3 #2548B3 #4925B3
triadic
#2548B3 #B32548 #48B325
tetradic
#2548B3 #B3258F #B39025 #25B349
square
#2548B3 #B3258F #B39025 #25B349
split-complementary
#2548B3 #B34925 #8FB325
monochromatic
#101F4E #1B3480 #2548B3 #3E64D7 #718DE2

Accessibility & contrast

On white

7.90
#2548B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2548B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2548B3#FFFFFF#000000##FFFFFF
##2548B31.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#004BB1
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2548b3;
/* rgb */ color: rgb(37, 72, 179);
/* oklch */ color: oklch(44.6% 0.175 265.7);
Tailwind
colors: {
  custom: {
    50: '#777acb',
    500: '#2548b3',
    950: '#000000',
  },
}
SCSS
$custom: #2548b3;
$custom-light: #777acb;
$custom-dark: #000000;
JSON
{
  "hex": "#2548b3",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 179
  },
  "hsl": {
    "h": 225.211,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44607,
    "c": 0.17476,
    "h": 265.7
  },
  "luminance": 0.08283
}

Semantic roles & 50–950 ramp

primary
#2548B3
secondary
#C8B16B
accent
#BF3FE9
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2548B3

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

Preview Lab → · Contrast checker → · Palette generator →

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