#25207B#25207B

#25207B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.147 H 276.5°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#25207B
RGBrgb(37, 32, 123)
HSLhsl(243, 59%, 30%)
HSVhsv(243, 74%, 48%)
CMYKcmyk(69.9%, 74%, 0%, 51.8%)
CIE-LABlab(19.46, 32.66, -50.69)
CIE-LCHlch(19.46, 60.30, 302.80°)
OKLaboklab(31.96% 0.0166 -0.1464)
OKLCHoklch(31.96% 0.147 276.5)
XYZxyz(4.8534, 2.8560, 19.0305)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25207B #767B20
analogous
#20487B #25207B #53207B
triadic
#25207B #7B2520 #207B25
tetradic
#25207B #7B2048 #767B20 #207B53
square
#25207B #7B2048 #767B20 #207B53
split-complementary
#25207B #7B5320 #487B20
monochromatic
#08071A #16134A #25207B #342DAC #4E46CF

Accessibility & contrast

On white

13.37
#25207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#25207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25207B
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25207B#FFFFFF#000000##FFFFFF
##25207B1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#002B79
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #25207b;
/* rgb */ color: rgb(37, 32, 123);
/* oklch */ color: oklch(32.0% 0.147 276.5);
Tailwind
colors: {
  custom: {
    50: '#6d5ca2',
    500: '#25207b',
    950: '#000000',
  },
}
SCSS
$custom: #25207b;
$custom-light: #6d5ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#25207b",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 243.297,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31959,
    "c": 0.14736,
    "h": 276.5
  },
  "luminance": 0.02856
}

Semantic roles & 50–950 ramp

primary
#25207B
secondary
#A9AE49
accent
#E246D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #25207B

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

Preview Lab → · Contrast checker → · Palette generator →

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