#2548A7#2548A7

#2548A7 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.158 H 265.0°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#2548A7
RGBrgb(37, 72, 167)
HSLhsl(224, 64%, 40%)
HSVhsv(224, 78%, 65%)
CMYKcmyk(77.8%, 56.9%, 0%, 34.5%)
CIE-LABlab(33.60, 22.67, -54.71)
CIE-LCHlch(33.60, 59.23, 292.51°)
OKLaboklab(43.58% -0.0137 -0.1579)
OKLCHoklch(43.58% 0.158 265)
XYZxyz(10.0529, 7.8169, 37.5307)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2548A7 #A78425
analogous
#2589A7 #2548A7 #4325A7
triadic
#2548A7 #A72548 #48A725
tetradic
#2548A7 #A72589 #A78425 #25A743
square
#2548A7 #A72589 #A78425 #25A743
split-complementary
#2548A7 #A74325 #89A725
monochromatic
#0F1D43 #1A3275 #2548A7 #3761D3 #6988DE

Accessibility & contrast

On white

8.19
#2548A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2548A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2548A7
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2548A7#FFFFFF#000000##FFFFFF
##2548A71.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AA
Deuteranopia (green-blind)
#0049A5
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2548a7;
/* rgb */ color: rgb(37, 72, 167);
/* oklch */ color: oklch(43.6% 0.158 265.0);
Tailwind
colors: {
  custom: {
    50: '#747ac2',
    500: '#2548a7',
    950: '#000000',
  },
}
SCSS
$custom: #2548a7;
$custom-light: #747ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#2548a7",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 167
  },
  "hsl": {
    "h": 223.846,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.43584,
    "c": 0.15847,
    "h": 265
  },
  "luminance": 0.07818
}

Semantic roles & 50–950 ramp

primary
#2548A7
secondary
#C4AA64
accent
#BA41E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2548A7

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

Preview Lab → · Contrast checker → · Palette generator →

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