#2548AF#2548AF

#2548AF is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.169 H 265.5°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2548AF
RGBrgb(37, 72, 175)
HSLhsl(225, 65%, 42%)
HSVhsv(225, 79%, 69%)
CMYKcmyk(78.9%, 58.9%, 0%, 31.4%)
CIE-LABlab(34.24, 25.76, -58.45)
CIE-LCHlch(34.24, 63.87, 293.78°)
OKLaboklab(44.26% -0.0133 -0.1688)
OKLCHoklch(44.26% 0.169 265.5)
XYZxyz(10.8154, 8.1219, 41.5468)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2548AF #AF8C25
analogous
#258DAF #2548AF #4725AF
triadic
#2548AF #AF2548 #48AF25
tetradic
#2548AF #AF258D #AF8C25 #25AF47
square
#2548AF #AF258D #AF8C25 #25AF47
split-complementary
#2548AF #AF4725 #8DAF25
monochromatic
#101E4A #1A337C #2548AF #3C63D6 #6E8BE0

Accessibility & contrast

On white

8.00
#2548AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2548AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2548AF
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2548AF#FFFFFF#000000##FFFFFF
##2548AF1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2548af;
/* rgb */ color: rgb(37, 72, 175);
/* oklch */ color: oklch(44.3% 0.169 265.5);
Tailwind
colors: {
  custom: {
    50: '#767ac8',
    500: '#2548af',
    950: '#000000',
  },
}
SCSS
$custom: #2548af;
$custom-light: #767ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#2548af",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 224.783,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44261,
    "c": 0.16937,
    "h": 265.5
  },
  "luminance": 0.08123
}

Semantic roles & 50–950 ramp

primary
#2548AF
secondary
#C7AF69
accent
#BD40E8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2548AF

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

Preview Lab → · Contrast checker → · Palette generator →

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