#25207D#25207D

#25207D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.150 H 276.2°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#25207D
RGBrgb(37, 32, 125)
HSLhsl(243, 59%, 31%)
HSVhsv(243, 74%, 49%)
CMYKcmyk(70.4%, 74.4%, 0%, 51%)
CIE-LABlab(19.67, 33.36, -51.62)
CIE-LCHlch(19.67, 61.46, 302.88°)
OKLaboklab(32.17% 0.0163 -0.1491)
OKLCHoklch(32.17% 0.15 276.2)
XYZxyz(4.9799, 2.9066, 19.6966)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25207D #787D20
analogous
#20497D #25207D #53207D
triadic
#25207D #7D2520 #207D25
tetradic
#25207D #7D2049 #787D20 #207D53
square
#25207D #7D2049 #787D20 #207D53
split-complementary
#25207D #7D5320 #497D20
monochromatic
#08071C #17144C #25207D #332CAE #4F47D0

Accessibility & contrast

On white

13.28
#25207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#25207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25207D
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25207D#FFFFFF#000000##FFFFFF
##25207D1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#002B7B
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #25207d;
/* rgb */ color: rgb(37, 32, 125);
/* oklch */ color: oklch(32.2% 0.150 276.2);
Tailwind
colors: {
  custom: {
    50: '#6d5da4',
    500: '#25207d',
    950: '#000000',
  },
}
SCSS
$custom: #25207d;
$custom-light: #6d5da4;
$custom-dark: #000000;
JSON
{
  "hex": "#25207d",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 243.226,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3217,
    "c": 0.15002,
    "h": 276.2
  },
  "luminance": 0.02907
}

Semantic roles & 50–950 ramp

primary
#25207D
secondary
#AAB049
accent
#E245DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #25207D

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

Preview Lab → · Contrast checker → · Palette generator →

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