#2548A2#2548A2

#2548A2 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.152 H 264.7°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2548A2
RGBrgb(37, 72, 162)
HSLhsl(223, 63%, 39%)
HSVhsv(223, 77%, 64%)
CMYKcmyk(77.2%, 55.6%, 0%, 36.5%)
CIE-LABlab(33.21, 20.73, -52.34)
CIE-LCHlch(33.21, 56.30, 291.60°)
OKLaboklab(43.17% -0.014 -0.1509)
OKLCHoklch(43.17% 0.152 264.7)
XYZxyz(9.5996, 7.6356, 35.1433)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2548A2 #A27F25
analogous
#2587A2 #2548A2 #4125A2
triadic
#2548A2 #A22548 #48A225
tetradic
#2548A2 #A22587 #A27F25 #25A241
square
#2548A2 #A22587 #A27F25 #25A241
split-complementary
#2548A2 #A24125 #87A225
monochromatic
#0E1C3E #1A3270 #2548A2 #3460D1 #6587DC

Accessibility & contrast

On white

8.31
#2548A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2548A2
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2548A2#FFFFFF#000000##FFFFFF
##2548A21.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2548a2;
/* rgb */ color: rgb(37, 72, 162);
/* oklch */ color: oklch(43.2% 0.152 264.7);
Tailwind
colors: {
  custom: {
    50: '#737abe',
    500: '#2548a2',
    950: '#000000',
  },
}
SCSS
$custom: #2548a2;
$custom-light: #737abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2548a2",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 223.2,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43171,
    "c": 0.15156,
    "h": 264.7
  },
  "luminance": 0.07637
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2548A2

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

Preview Lab → · Contrast checker → · Palette generator →

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