#25207E#25207E

#25207E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.151 H 276.1°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#25207E
RGBrgb(37, 32, 126)
HSLhsl(243, 59%, 31%)
HSVhsv(243, 75%, 49%)
CMYKcmyk(70.6%, 74.6%, 0%, 50.6%)
CIE-LABlab(19.77, 33.71, -52.08)
CIE-LCHlch(19.77, 62.04, 302.92°)
OKLaboklab(32.28% 0.0161 -0.1505)
OKLCHoklch(32.28% 0.151 276.1)
XYZxyz(5.0441, 2.9322, 20.0348)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25207E #797E20
analogous
#204A7E #25207E #54207E
triadic
#25207E #7E2520 #207E25
tetradic
#25207E #7E204A #797E20 #207E54
square
#25207E #7E204A #797E20 #207E54
split-complementary
#25207E #7E5420 #4A7E20
monochromatic
#08071C #17144D #25207E #332CAF #4F48D0

Accessibility & contrast

On white

13.24
#25207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#25207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25207E
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25207E#FFFFFF#000000##FFFFFF
##25207E1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #25207e;
/* rgb */ color: rgb(37, 32, 126);
/* oklch */ color: oklch(32.3% 0.151 276.1);
Tailwind
colors: {
  custom: {
    50: '#6d5da4',
    500: '#25207e',
    950: '#000000',
  },
}
SCSS
$custom: #25207e;
$custom-light: #6d5da4;
$custom-dark: #000000;
JSON
{
  "hex": "#25207e",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 243.191,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32276,
    "c": 0.15134,
    "h": 276.1
  },
  "luminance": 0.02933
}

Semantic roles & 50–950 ramp

primary
#25207E
secondary
#ABB149
accent
#E345DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #25207E

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

Preview Lab → · Contrast checker → · Palette generator →

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