#25209F#25209F

#25209F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.9% C 0.193 H 272.7°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#25209F
RGBrgb(37, 32, 159)
HSLhsl(242, 66%, 37%)
HSVhsv(242, 80%, 62%)
CMYKcmyk(76.7%, 79.9%, 0%, 37.6%)
CIE-LABlab(23.43, 44.82, -66.56)
CIE-LCHlch(23.43, 80.25, 303.95°)
OKLaboklab(35.95% 0.0089 -0.1926)
OKLCHoklch(35.95% 0.193 272.7)
XYZxyz(7.5354, 3.9287, 33.1554)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25209F #9A9F20
analogous
#205B9F #25209F #64209F
triadic
#25209F #9F2520 #209F25
tetradic
#25209F #9F205B #9A9F20 #209F64
square
#25209F #9F205B #9A9F20 #209F64
split-complementary
#25209F #9F6420 #5B9F20
monochromatic
#0D0B39 #19166C #25209F #312AD2 #605BDE

Accessibility & contrast

On white

11.76
#25209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#25209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25209F
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25209F#FFFFFF#000000##FFFFFF
##25209F1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #25209f;
/* rgb */ color: rgb(37, 32, 159);
/* oklch */ color: oklch(35.9% 0.193 272.7);
Tailwind
colors: {
  custom: {
    50: '#765ebd',
    500: '#25209f',
    950: '#000000',
  },
}
SCSS
$custom: #25209f;
$custom-light: #765ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#25209f",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 242.362,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.35946,
    "c": 0.19283,
    "h": 272.7
  },
  "luminance": 0.0393
}

Semantic roles & 50–950 ramp

primary
#25209F
secondary
#BEC259
accent
#E93EE3
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #25209F

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

Preview Lab → · Contrast checker → · Palette generator →

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