#252592#252592

#252592 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.172 H 273.2°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#252592
RGBrgb(37, 37, 146)
HSLhsl(240, 60%, 36%)
HSVhsv(240, 75%, 57%)
CMYKcmyk(74.7%, 74.7%, 0%, 42.7%)
CIE-LABlab(22.97, 37.66, -59.34)
CIE-LCHlch(22.97, 70.29, 302.40°)
OKLaboklab(35.19% 0.0095 -0.1717)
OKLCHoklch(35.19% 0.172 273.2)
XYZxyz(6.6111, 3.7911, 27.5719)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252592 #929225
analogous
#255B92 #252592 #5B2592
triadic
#252592 #922525 #259225
tetradic
#252592 #92255B #929225 #25925B
square
#252592 #92255B #929225 #25925B
split-complementary
#252592 #925B25 #5B9225
monochromatic
#0C0C30 #191961 #252592 #3131C3 #5C5CD6

Accessibility & contrast

On white

11.94
#252592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#252592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252592
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252592#FFFFFF#000000##FFFFFF
##2525921.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003190
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #252592;
/* rgb */ color: rgb(37, 37, 146);
/* oklch */ color: oklch(35.2% 0.172 273.2);
Tailwind
colors: {
  custom: {
    50: '#7261b3',
    500: '#252592',
    950: '#000000',
  },
}
SCSS
$custom: #252592;
$custom-light: #7261b3;
$custom-dark: #000000;
JSON
{
  "hex": "#252592",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 146
  },
  "hsl": {
    "h": 240,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3519,
    "c": 0.17195,
    "h": 273.2
  },
  "luminance": 0.03792
}

Semantic roles & 50–950 ramp

primary
#252592
secondary
#BABA58
accent
#E345E3
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #252592

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

Preview Lab → · Contrast checker → · Palette generator →

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