#25209C#25209C

#25209C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.6% C 0.189 H 272.9°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#25209C
RGBrgb(37, 32, 156)
HSLhsl(242, 66%, 37%)
HSVhsv(242, 79%, 61%)
CMYKcmyk(76.3%, 79.5%, 0%, 38.8%)
CIE-LABlab(23.09, 43.84, -65.30)
CIE-LCHlch(23.09, 78.66, 303.88°)
OKLaboklab(35.6% 0.0096 -0.189)
OKLCHoklch(35.6% 0.189 272.9)
XYZxyz(7.2782, 3.8259, 31.8009)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25209C #979C20
analogous
#20599C #25209C #63209C
triadic
#25209C #9C2520 #209C25
tetradic
#25209C #9C2059 #979C20 #209C63
square
#25209C #9C2059 #979C20 #209C63
split-complementary
#25209C #9C6320 #599C20
monochromatic
#0D0B36 #191669 #25209C #312ACF #5F59DD

Accessibility & contrast

On white

11.90
#25209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#25209C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25209C
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25209C#FFFFFF#000000##FFFFFF
##25209C1.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9F
Deuteranopia (green-blind)
#00319A
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #25209c;
/* rgb */ color: rgb(37, 32, 156);
/* oklch */ color: oklch(35.6% 0.189 272.9);
Tailwind
colors: {
  custom: {
    50: '#755ebb',
    500: '#25209c',
    950: '#000000',
  },
}
SCSS
$custom: #25209c;
$custom-light: #755ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#25209c",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 242.419,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35601,
    "c": 0.18921,
    "h": 272.9
  },
  "luminance": 0.03827
}

Semantic roles & 50–950 ramp

primary
#25209C
secondary
#BDC157
accent
#E93FE2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #25209C

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

Preview Lab → · Contrast checker → · Palette generator →

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