#2548A3#2548A3

#2548A3 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.3% C 0.153 H 264.8°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#2548A3
RGBrgb(37, 72, 163)
HSLhsl(223, 63%, 39%)
HSVhsv(223, 77%, 64%)
CMYKcmyk(77.3%, 55.8%, 0%, 36.1%)
CIE-LABlab(33.29, 21.12, -52.82)
CIE-LCHlch(33.29, 56.88, 291.79°)
OKLaboklab(43.25% -0.0139 -0.1523)
OKLCHoklch(43.25% 0.153 264.8)
XYZxyz(9.6888, 7.6713, 35.6133)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2548A3 #A38025
analogous
#2587A3 #2548A3 #4125A3
triadic
#2548A3 #A32548 #48A325
tetradic
#2548A3 #A32587 #A38025 #25A341
square
#2548A3 #A32587 #A38025 #25A341
split-complementary
#2548A3 #A34125 #87A325
monochromatic
#0E1C3F #1A3271 #2548A3 #3460D1 #6687DC

Accessibility & contrast

On white

8.29
#2548A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2548A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2548A3
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2548A3#FFFFFF#000000##FFFFFF
##2548A31.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#0049A1
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2548a3;
/* rgb */ color: rgb(37, 72, 163);
/* oklch */ color: oklch(43.3% 0.153 264.8);
Tailwind
colors: {
  custom: {
    50: '#737abf',
    500: '#2548a3',
    950: '#000000',
  },
}
SCSS
$custom: #2548a3;
$custom-light: #737abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2548a3",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 163
  },
  "hsl": {
    "h": 223.333,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43253,
    "c": 0.15295,
    "h": 264.8
  },
  "luminance": 0.07672
}

Semantic roles & 50–950 ramp

primary
#2548A3
secondary
#C2A762
accent
#B842E6
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2548A3

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

Preview Lab → · Contrast checker → · Palette generator →

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