#25209B#25209B

#25209B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.188 H 273.0°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#25209B
RGBrgb(37, 32, 155)
HSLhsl(242, 66%, 37%)
HSVhsv(242, 79%, 61%)
CMYKcmyk(76.1%, 79.4%, 0%, 39.2%)
CIE-LABlab(22.97, 43.52, -64.88)
CIE-LCHlch(22.97, 78.13, 303.85°)
OKLaboklab(35.49% 0.0099 -0.1877)
OKLCHoklch(35.49% 0.188 273)
XYZxyz(7.1939, 3.7921, 31.3568)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25209B #969B20
analogous
#20599B #25209B #63209B
triadic
#25209B #9B2520 #209B25
tetradic
#25209B #9B2059 #969B20 #209B63
square
#25209B #9B2059 #969B20 #209B63
split-complementary
#25209B #9B6320 #599B20
monochromatic
#0D0B36 #191668 #25209B #312ACE #5E59DD

Accessibility & contrast

On white

11.94
#25209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#25209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25209B
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25209B#FFFFFF#000000##FFFFFF
##25209B1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9E
Deuteranopia (green-blind)
#003199
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #25209b;
/* rgb */ color: rgb(37, 32, 155);
/* oklch */ color: oklch(35.5% 0.188 273.0);
Tailwind
colors: {
  custom: {
    50: '#755eba',
    500: '#25209b',
    950: '#000000',
  },
}
SCSS
$custom: #25209b;
$custom-light: #755eba;
$custom-dark: #000000;
JSON
{
  "hex": "#25209b",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 242.439,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35487,
    "c": 0.188,
    "h": 273
  },
  "luminance": 0.03793
}

Semantic roles & 50–950 ramp

primary
#25209B
secondary
#BCC156
accent
#E93FE2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #25209B

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

Preview Lab → · Contrast checker → · Palette generator →

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