#25208B#25208B

#25208B is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.168 H 274.6°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#25208B
RGBrgb(37, 32, 139)
HSLhsl(243, 63%, 34%)
HSVhsv(243, 77%, 55%)
CMYKcmyk(73.4%, 77%, 0%, 45.5%)
CIE-LABlab(21.17, 38.19, -57.96)
CIE-LCHlch(21.17, 69.41, 303.38°)
OKLaboklab(33.69% 0.0134 -0.1676)
OKLCHoklch(33.69% 0.168 274.6)
XYZxyz(5.9381, 3.2898, 24.7431)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25208B #868B20
analogous
#20508B #25208B #5A208B
triadic
#25208B #8B2520 #208B25
tetradic
#25208B #8B2050 #868B20 #208B5A
square
#25208B #8B2050 #868B20 #208B5A
split-complementary
#25208B #8B5A20 #508B20
monochromatic
#0B0928 #181559 #25208B #322BBD #554FD6

Accessibility & contrast

On white

12.67
#25208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#25208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25208B
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25208B#FFFFFF#000000##FFFFFF
##25208B1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388E
Deuteranopia (green-blind)
#002E89
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #25208b;
/* rgb */ color: rgb(37, 32, 139);
/* oklch */ color: oklch(33.7% 0.168 274.6);
Tailwind
colors: {
  custom: {
    50: '#715dae',
    500: '#25208b',
    950: '#000000',
  },
}
SCSS
$custom: #25208b;
$custom-light: #715dae;
$custom-dark: #000000;
JSON
{
  "hex": "#25208b",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 242.804,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33687,
    "c": 0.16816,
    "h": 274.6
  },
  "luminance": 0.0329
}

Semantic roles & 50–950 ramp

primary
#25208B
secondary
#B4BA4D
accent
#E642DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #25208B

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

Preview Lab → · Contrast checker → · Palette generator →

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