#25248C#25248C

#25248C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.165 H 273.8°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#25248C
RGBrgb(37, 36, 140)
HSLhsl(241, 59%, 35%)
HSVhsv(241, 74%, 55%)
CMYKcmyk(73.6%, 74.3%, 0%, 45.1%)
CIE-LABlab(22.12, 36.17, -57.02)
CIE-LCHlch(22.12, 67.53, 302.39°)
OKLaboklab(34.39% 0.0111 -0.1649)
OKLCHoklch(34.39% 0.165 273.8)
XYZxyz(6.1259, 3.5479, 25.1678)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25248C #8B8C24
analogous
#24578C #25248C #59248C
triadic
#25248C #8C2524 #248C25
tetradic
#25248C #8C2457 #8B8C24 #248C59
square
#25248C #8C2457 #8B8C24 #248C59
split-complementary
#25248C #8C5924 #578C24
monochromatic
#0B0B2B #18175B #25248C #3231BD #5857D4

Accessibility & contrast

On white

12.28
#25248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#25248C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25248C
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25248C#FFFFFF#000000##FFFFFF
##25248C1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25248c;
/* rgb */ color: rgb(37, 36, 140);
/* oklch */ color: oklch(34.4% 0.165 273.8);
Tailwind
colors: {
  custom: {
    50: '#7060af',
    500: '#25248c',
    950: '#000000',
  },
}
SCSS
$custom: #25248c;
$custom-light: #7060af;
$custom-dark: #000000;
JSON
{
  "hex": "#25248c",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 240.577,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34392,
    "c": 0.1653,
    "h": 273.8
  },
  "luminance": 0.03549
}

Semantic roles & 50–950 ramp

primary
#25248C
secondary
#B7B854
accent
#E246E1
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090510
muted
#7B797F

Preview Lab

Preview with #25248C

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

Preview Lab → · Contrast checker → · Palette generator →

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