#25207F#25207F

#25207F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.153 H 276.0°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#25207F
RGBrgb(37, 32, 127)
HSLhsl(243, 60%, 31%)
HSVhsv(243, 75%, 50%)
CMYKcmyk(70.9%, 74.8%, 0%, 50.2%)
CIE-LABlab(19.88, 34.06, -52.54)
CIE-LCHlch(19.88, 62.62, 302.95°)
OKLaboklab(32.38% 0.0159 -0.1518)
OKLCHoklch(32.38% 0.153 276)
XYZxyz(5.1090, 2.9582, 20.3763)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25207F #7A7F20
analogous
#204A7F #25207F #54207F
triadic
#25207F #7F2520 #207F25
tetradic
#25207F #7F204A #7A7F20 #207F54
square
#25207F #7F204A #7A7F20 #207F54
split-complementary
#25207F #7F5420 #4A7F20
monochromatic
#09071D #17144E #25207F #332CB0 #5048D1

Accessibility & contrast

On white

13.19
#25207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25207F
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25207F#FFFFFF#000000##FFFFFF
##25207F1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #25207f;
/* rgb */ color: rgb(37, 32, 127);
/* oklch */ color: oklch(32.4% 0.153 276.0);
Tailwind
colors: {
  custom: {
    50: '#6e5da5',
    500: '#25207f',
    950: '#000000',
  },
}
SCSS
$custom: #25207f;
$custom-light: #6e5da5;
$custom-dark: #000000;
JSON
{
  "hex": "#25207f",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 243.158,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32383,
    "c": 0.15267,
    "h": 276
  },
  "luminance": 0.02959
}

Semantic roles & 50–950 ramp

primary
#25207F
secondary
#ACB249
accent
#E345DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #25207F

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

Preview Lab → · Contrast checker → · Palette generator →

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