#25208C#25208C

#25208C is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.169 H 274.5°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#25208C
RGBrgb(37, 32, 140)
HSLhsl(243, 63%, 34%)
HSVhsv(243, 77%, 55%)
CMYKcmyk(73.6%, 77.1%, 0%, 45.1%)
CIE-LABlab(21.28, 38.53, -58.40)
CIE-LCHlch(21.28, 69.97, 303.41°)
OKLaboklab(33.8% 0.0132 -0.1689)
OKLCHoklch(33.8% 0.169 274.5)
XYZxyz(6.0115, 3.3192, 25.1297)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25208C #878C20
analogous
#20518C #25208C #5B208C
triadic
#25208C #8C2520 #208C25
tetradic
#25208C #8C2051 #878C20 #208C5B
square
#25208C #8C2051 #878C20 #208C5B
split-complementary
#25208C #8C5B20 #518C20
monochromatic
#0B0928 #18155A #25208C #322BBE #5650D7

Accessibility & contrast

On white

12.62
#25208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25208C
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25208C#FFFFFF#000000##FFFFFF
##25208C1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388F
Deuteranopia (green-blind)
#002E8A
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #25208c;
/* rgb */ color: rgb(37, 32, 140);
/* oklch */ color: oklch(33.8% 0.169 274.5);
Tailwind
colors: {
  custom: {
    50: '#715daf',
    500: '#25208c',
    950: '#000000',
  },
}
SCSS
$custom: #25208c;
$custom-light: #715daf;
$custom-dark: #000000;
JSON
{
  "hex": "#25208c",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 242.778,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33798,
    "c": 0.16943,
    "h": 274.5
  },
  "luminance": 0.0332
}

Semantic roles & 50–950 ramp

primary
#25208C
secondary
#B5BA4E
accent
#E642DE
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #25208C

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

Preview Lab → · Contrast checker → · Palette generator →

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