#25208F#25208F

#25208F is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.1% C 0.173 H 274.2°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#25208F
RGBrgb(37, 32, 143)
HSLhsl(243, 63%, 34%)
HSVhsv(243, 78%, 56%)
CMYKcmyk(74.1%, 77.6%, 0%, 43.9%)
CIE-LABlab(21.61, 39.54, -59.72)
CIE-LCHlch(21.61, 71.62, 303.51°)
OKLaboklab(34.13% 0.0125 -0.1728)
OKLCHoklch(34.13% 0.173 274.2)
XYZxyz(6.2357, 3.4089, 26.3106)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25208F #8A8F20
analogous
#20538F #25208F #5D208F
triadic
#25208F #8F2520 #208F25
tetradic
#25208F #8F2053 #8A8F20 #208F5D
square
#25208F #8F2053 #8A8F20 #208F5D
split-complementary
#25208F #8F5D20 #538F20
monochromatic
#0B0A2B #18155D #25208F #322BC1 #5751D8

Accessibility & contrast

On white

12.49
#25208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25208F
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25208F#FFFFFF#000000##FFFFFF
##25208F1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#002F8D
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #25208f;
/* rgb */ color: rgb(37, 32, 143);
/* oklch */ color: oklch(34.1% 0.173 274.2);
Tailwind
colors: {
  custom: {
    50: '#725db1',
    500: '#25208f',
    950: '#000000',
  },
}
SCSS
$custom: #25208f;
$custom-light: #725db1;
$custom-dark: #000000;
JSON
{
  "hex": "#25208f",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 242.703,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34131,
    "c": 0.17321,
    "h": 274.2
  },
  "luminance": 0.0341
}

Semantic roles & 50–950 ramp

primary
#25208F
secondary
#B7BB4F
accent
#E641DF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #25208F

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

Preview Lab → · Contrast checker → · Palette generator →

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