#252578#252578

#252578 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.137 H 275.6°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#252578
RGBrgb(37, 37, 120)
HSLhsl(240, 53%, 31%)
HSVhsv(240, 69%, 47%)
CMYKcmyk(69.2%, 69.2%, 0%, 52.9%)
CIE-LABlab(20.33, 28.39, -47.34)
CIE-LCHlch(20.33, 55.20, 300.95°)
OKLaboklab(32.5% 0.0134 -0.1366)
OKLCHoklch(32.5% 0.137 275.6)
XYZxyz(4.8136, 3.0721, 18.1050)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252578 #787825
analogous
#254E78 #252578 #4E2578
triadic
#252578 #782525 #257825
tetradic
#252578 #78254E #787825 #25784E
square
#252578 #78254E #787825 #25784E
split-complementary
#252578 #784E25 #4E7825
monochromatic
#08081A #171749 #252578 #3333A7 #4F4FC9

Accessibility & contrast

On white

13.01
#252578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#252578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252578
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252578#FFFFFF#000000##FFFFFF
##2525781.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357B
Deuteranopia (green-blind)
#002D76
Tritanopia (blue-blind)
#003B4B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #252578;
/* rgb */ color: rgb(37, 37, 120);
/* oklch */ color: oklch(32.5% 0.137 275.6);
Tailwind
colors: {
  custom: {
    50: '#6b60a0',
    500: '#252578',
    950: '#000000',
  },
}
SCSS
$custom: #252578;
$custom-light: #6b60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#252578",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 120
  },
  "hsl": {
    "h": 240,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32496,
    "c": 0.13728,
    "h": 275.6
  },
  "luminance": 0.03073
}

Semantic roles & 50–950 ramp

primary
#252578
secondary
#AAAA4E
accent
#DC4CDC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08050F
muted
#7A797E

Preview Lab

Preview with #252578

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

Preview Lab → · Contrast checker → · Palette generator →

#252578 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva