#25248E#25248E

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

Color values

HEX#25248E
RGBrgb(37, 36, 142)
HSLhsl(241, 60%, 35%)
HSVhsv(241, 75%, 56%)
CMYKcmyk(73.9%, 74.6%, 0%, 44.3%)
CIE-LABlab(22.33, 36.87, -57.92)
CIE-LCHlch(22.33, 68.66, 302.48°)
OKLaboklab(34.61% 0.0107 -0.1675)
OKLCHoklch(34.61% 0.168 273.7)
XYZxyz(6.2747, 3.6074, 25.9516)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25248E #8D8E24
analogous
#24588E #25248E #5A248E
triadic
#25248E #8E2524 #248E25
tetradic
#25248E #8E2458 #8D8E24 #248E5A
square
#25248E #8E2458 #8D8E24 #248E5A
split-complementary
#25248E #8E5A24 #588E24
monochromatic
#0C0B2C #18185D #25248E #3230BF #5958D5

Accessibility & contrast

On white

12.20
#25248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25248E
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25248E#FFFFFF#000000##FFFFFF
##25248E1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00308C
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #25248e;
/* rgb */ color: rgb(37, 36, 142);
/* oklch */ color: oklch(34.6% 0.168 273.7);
Tailwind
colors: {
  custom: {
    50: '#7160b0',
    500: '#25248e',
    950: '#000000',
  },
}
SCSS
$custom: #25248e;
$custom-light: #7160b0;
$custom-dark: #000000;
JSON
{
  "hex": "#25248e",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 240.566,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34607,
    "c": 0.16788,
    "h": 273.7
  },
  "luminance": 0.03608
}

Semantic roles & 50–950 ramp

primary
#25248E
secondary
#B8B955
accent
#E345E1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #25248E

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

Preview Lab → · Contrast checker → · Palette generator →

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