#25208E#25208E

#25208E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.172 H 274.3°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#25208E
RGBrgb(37, 32, 142)
HSLhsl(243, 63%, 34%)
HSVhsv(243, 77%, 56%)
CMYKcmyk(73.9%, 77.5%, 0%, 44.3%)
CIE-LABlab(21.50, 39.20, -59.29)
CIE-LCHlch(21.50, 71.07, 303.47°)
OKLaboklab(34.02% 0.0127 -0.1715)
OKLCHoklch(34.02% 0.172 274.3)
XYZxyz(6.1603, 3.3787, 25.9134)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25208E #898E20
analogous
#20528E #25208E #5C208E
triadic
#25208E #8E2520 #208E25
tetradic
#25208E #8E2052 #898E20 #208E5C
square
#25208E #8E2052 #898E20 #208E5C
split-complementary
#25208E #8E5C20 #528E20
monochromatic
#0B092A #18155C #25208E #322BC0 #5751D8

Accessibility & contrast

On white

12.53
#25208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#25208E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25208E
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25208E#FFFFFF#000000##FFFFFF
##25208E1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003991
Deuteranopia (green-blind)
#002E8C
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #25208e;
/* rgb */ color: rgb(37, 32, 142);
/* oklch */ color: oklch(34.0% 0.172 274.3);
Tailwind
colors: {
  custom: {
    50: '#715db0',
    500: '#25208e',
    950: '#000000',
  },
}
SCSS
$custom: #25208e;
$custom-light: #715db0;
$custom-dark: #000000;
JSON
{
  "hex": "#25208e",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 242.727,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3402,
    "c": 0.17195,
    "h": 274.3
  },
  "luminance": 0.03379
}

Semantic roles & 50–950 ramp

primary
#25208E
secondary
#B6BB4F
accent
#E642DF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #25208E

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

Preview Lab → · Contrast checker → · Palette generator →

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