#252589#252589

#252589 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.160 H 273.9°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#252589
RGBrgb(37, 37, 137)
HSLhsl(240, 57%, 34%)
HSVhsv(240, 73%, 54%)
CMYKcmyk(73%, 73%, 0%, 46.3%)
CIE-LABlab(22.02, 34.51, -55.30)
CIE-LCHlch(22.02, 65.19, 301.96°)
OKLaboklab(34.23% 0.011 -0.1599)
OKLCHoklch(34.23% 0.16 273.9)
XYZxyz(5.9384, 3.5220, 24.0289)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252589 #898925
analogous
#255789 #252589 #572589
triadic
#252589 #892525 #258925
tetradic
#252589 #892557 #898925 #258957
square
#252589 #892557 #898925 #258957
split-complementary
#252589 #895725 #578925
monochromatic
#0B0B29 #181859 #252589 #3232B9 #5757D2

Accessibility & contrast

On white

12.32
#252589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#252589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252589
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252589#FFFFFF#000000##FFFFFF
##2525891.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #252589;
/* rgb */ color: rgb(37, 37, 137);
/* oklch */ color: oklch(34.2% 0.160 273.9);
Tailwind
colors: {
  custom: {
    50: '#7060ac',
    500: '#252589',
    950: '#000000',
  },
}
SCSS
$custom: #252589;
$custom-light: #7060ac;
$custom-dark: #000000;
JSON
{
  "hex": "#252589",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 240,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34232,
    "c": 0.16029,
    "h": 273.9
  },
  "luminance": 0.03523
}

Semantic roles & 50–950 ramp

primary
#252589
secondary
#B6B654
accent
#E147E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #252589

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

Preview Lab → · Contrast checker → · Palette generator →

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