#25248D#25248D

#25248D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.167 H 273.7°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#25248D
RGBrgb(37, 36, 141)
HSLhsl(241, 59%, 35%)
HSVhsv(241, 74%, 55%)
CMYKcmyk(73.8%, 74.5%, 0%, 44.7%)
CIE-LABlab(22.22, 36.52, -57.47)
CIE-LCHlch(22.22, 68.09, 302.43°)
OKLaboklab(34.5% 0.0109 -0.1662)
OKLCHoklch(34.5% 0.167 273.7)
XYZxyz(6.1999, 3.5775, 25.5579)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25248D #8C8D24
analogous
#24588D #25248D #59248D
triadic
#25248D #8D2524 #248D25
tetradic
#25248D #8D2458 #8C8D24 #248D59
square
#25248D #8D2458 #8C8D24 #248D59
split-complementary
#25248D #8D5924 #588D24
monochromatic
#0B0B2B #18185C #25248D #3230BE #5857D4

Accessibility & contrast

On white

12.24
#25248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#25248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25248D
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25248D#FFFFFF#000000##FFFFFF
##25248D1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#00308B
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #25248d;
/* rgb */ color: rgb(37, 36, 141);
/* oklch */ color: oklch(34.5% 0.167 273.7);
Tailwind
colors: {
  custom: {
    50: '#7160af',
    500: '#25248d',
    950: '#000000',
  },
}
SCSS
$custom: #25248d;
$custom-light: #7160af;
$custom-dark: #000000;
JSON
{
  "hex": "#25248d",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 240.571,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34499,
    "c": 0.16659,
    "h": 273.7
  },
  "luminance": 0.03578
}

Semantic roles & 50–950 ramp

primary
#25248D
secondary
#B8B854
accent
#E345E1
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #25248D

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

Preview Lab → · Contrast checker → · Palette generator →

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