#25248F#25248F

#25248F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.169 H 273.6°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#25248F
RGBrgb(37, 36, 143)
HSLhsl(241, 60%, 35%)
HSVhsv(241, 75%, 56%)
CMYKcmyk(74.1%, 74.8%, 0%, 43.9%)
CIE-LABlab(22.44, 37.22, -58.36)
CIE-LCHlch(22.44, 69.22, 302.52°)
OKLaboklab(34.71% 0.0105 -0.1688)
OKLCHoklch(34.71% 0.169 273.6)
XYZxyz(6.3501, 3.6376, 26.3487)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25248F #8E8F24
analogous
#24588F #25248F #5B248F
triadic
#25248F #8F2524 #248F25
tetradic
#25248F #8F2458 #8E8F24 #248F5B
square
#25248F #8F2458 #8E8F24 #248F5B
split-complementary
#25248F #8F5B24 #588F24
monochromatic
#0C0B2D #18185E #25248F #3230C0 #5A58D5

Accessibility & contrast

On white

12.16
#25248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#25248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25248F
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25248F#FFFFFF#000000##FFFFFF
##25248F1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00308D
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #25248f;
/* rgb */ color: rgb(37, 36, 143);
/* oklch */ color: oklch(34.7% 0.169 273.6);
Tailwind
colors: {
  custom: {
    50: '#7160b1',
    500: '#25248f',
    950: '#000000',
  },
}
SCSS
$custom: #25248f;
$custom-light: #7160b1;
$custom-dark: #000000;
JSON
{
  "hex": "#25248f",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 240.561,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34714,
    "c": 0.16916,
    "h": 273.6
  },
  "luminance": 0.03638
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25248F

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

Preview Lab → · Contrast checker → · Palette generator →

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