#25207A#25207A

#25207A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.146 H 276.6°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#25207A
RGBrgb(37, 32, 122)
HSLhsl(243, 58%, 30%)
HSVhsv(243, 74%, 48%)
CMYKcmyk(69.7%, 73.8%, 0%, 52.2%)
CIE-LABlab(19.35, 32.31, -50.22)
CIE-LCHlch(19.35, 59.72, 302.76°)
OKLaboklab(31.85% 0.0168 -0.1451)
OKLCHoklch(31.85% 0.146 276.6)
XYZxyz(4.7912, 2.8311, 18.7025)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25207A #757A20
analogous
#20487A #25207A #52207A
triadic
#25207A #7A2520 #207A25
tetradic
#25207A #7A2048 #757A20 #207A52
square
#25207A #7A2048 #757A20 #207A52
split-complementary
#25207A #7A5220 #487A20
monochromatic
#080719 #16134A #25207A #342DAA #4E46CE

Accessibility & contrast

On white

13.41
#25207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25207A
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25207A#FFFFFF#000000##FFFFFF
##25207A1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#002B78
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #25207a;
/* rgb */ color: rgb(37, 32, 122);
/* oklch */ color: oklch(31.9% 0.146 276.6);
Tailwind
colors: {
  custom: {
    50: '#6c5ca1',
    500: '#25207a',
    950: '#000000',
  },
}
SCSS
$custom: #25207a;
$custom-light: #6c5ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#25207a",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 243.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31854,
    "c": 0.14603,
    "h": 276.6
  },
  "luminance": 0.02831
}

Semantic roles & 50–950 ramp

primary
#25207A
secondary
#A8AD49
accent
#E246D9
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #25207A

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

Preview Lab → · Contrast checker → · Palette generator →

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