#252590#252590

#252590 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.169 H 273.3°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#252590
RGBrgb(37, 37, 144)
HSLhsl(240, 59%, 35%)
HSVhsv(240, 74%, 56%)
CMYKcmyk(74.3%, 74.3%, 0%, 43.5%)
CIE-LABlab(22.76, 36.97, -58.46)
CIE-LCHlch(22.76, 69.16, 302.31°)
OKLaboklab(34.98% 0.0098 -0.1691)
OKLCHoklch(34.98% 0.169 273.3)
XYZxyz(6.4569, 3.7294, 26.7597)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252590 #909025
analogous
#255A90 #252590 #5A2590
triadic
#252590 #902525 #259025
tetradic
#252590 #90255A #909025 #25905A
square
#252590 #90255A #909025 #25905A
split-complementary
#252590 #905A25 #5A9025
monochromatic
#0C0C2F #18185F #252590 #3232C1 #5B5BD5

Accessibility & contrast

On white

12.03
#252590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#252590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252590
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252590#FFFFFF#000000##FFFFFF
##2525901.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #252590;
/* rgb */ color: rgb(37, 37, 144);
/* oklch */ color: oklch(35.0% 0.169 273.3);
Tailwind
colors: {
  custom: {
    50: '#7161b2',
    500: '#252590',
    950: '#000000',
  },
}
SCSS
$custom: #252590;
$custom-light: #7161b2;
$custom-dark: #000000;
JSON
{
  "hex": "#252590",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 144
  },
  "hsl": {
    "h": 240,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34975,
    "c": 0.16939,
    "h": 273.3
  },
  "luminance": 0.0373
}

Semantic roles & 50–950 ramp

primary
#252590
secondary
#B9B957
accent
#E245E2
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #252590

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

Preview Lab → · Contrast checker → · Palette generator →

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