#25248B#25248B

#25248B is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.164 H 273.9°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#25248B
RGBrgb(37, 36, 139)
HSLhsl(241, 59%, 34%)
HSVhsv(241, 74%, 55%)
CMYKcmyk(73.4%, 74.1%, 0%, 45.5%)
CIE-LABlab(22.01, 35.82, -56.57)
CIE-LCHlch(22.01, 66.96, 302.34°)
OKLaboklab(34.28% 0.0112 -0.1636)
OKLCHoklch(34.28% 0.164 273.9)
XYZxyz(6.0525, 3.5186, 24.7813)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25248B #8A8B24
analogous
#24568B #25248B #59248B
triadic
#25248B #8B2524 #248B25
tetradic
#25248B #8B2456 #8A8B24 #248B59
square
#25248B #8B2456 #8A8B24 #248B59
split-complementary
#25248B #8B5924 #568B24
monochromatic
#0B0B2A #18175A #25248B #3231BC #5756D3

Accessibility & contrast

On white

12.33
#25248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#25248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25248B
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25248B#FFFFFF#000000##FFFFFF
##25248B1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398E
Deuteranopia (green-blind)
#003089
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #25248b;
/* rgb */ color: rgb(37, 36, 139);
/* oklch */ color: oklch(34.3% 0.164 273.9);
Tailwind
colors: {
  custom: {
    50: '#7060ae',
    500: '#25248b',
    950: '#000000',
  },
}
SCSS
$custom: #25248b;
$custom-light: #7060ae;
$custom-dark: #000000;
JSON
{
  "hex": "#25248b",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 240.583,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34285,
    "c": 0.16399,
    "h": 273.9
  },
  "luminance": 0.03519
}

Semantic roles & 50–950 ramp

primary
#25248B
secondary
#B7B753
accent
#E246E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #25248B

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

Preview Lab → · Contrast checker → · Palette generator →

#25248B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva