#252489#252489

#252489 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.161 H 274.1°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#252489
RGBrgb(37, 36, 137)
HSLhsl(241, 58%, 34%)
HSVhsv(241, 74%, 54%)
CMYKcmyk(73%, 73.7%, 0%, 46.3%)
CIE-LABlab(21.80, 35.12, -55.67)
CIE-LCHlch(21.80, 65.82, 302.25°)
OKLaboklab(34.07% 0.0116 -0.161)
OKLCHoklch(34.07% 0.161 274.1)
XYZxyz(5.9077, 3.4606, 24.0187)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252489 #888924
analogous
#245689 #252489 #582489
triadic
#252489 #892524 #248925
tetradic
#252489 #892456 #888924 #248958
square
#252489 #892456 #888924 #248958
split-complementary
#252489 #895824 #568924
monochromatic
#0B0B28 #181759 #252489 #3231B9 #5655D2

Accessibility & contrast

On white

12.41
#252489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#252489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252489
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252489#FFFFFF#000000##FFFFFF
##2524891.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#002F87
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #252489;
/* rgb */ color: rgb(37, 36, 137);
/* oklch */ color: oklch(34.1% 0.161 274.1);
Tailwind
colors: {
  custom: {
    50: '#7060ac',
    500: '#252489',
    950: '#000000',
  },
}
SCSS
$custom: #252489;
$custom-light: #7060ac;
$custom-dark: #000000;
JSON
{
  "hex": "#252489",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 240.594,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34073,
    "c": 0.1614,
    "h": 274.1
  },
  "luminance": 0.03461
}

Semantic roles & 50–950 ramp

primary
#252489
secondary
#B6B752
accent
#E246E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #252489

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

Preview Lab → · Contrast checker → · Palette generator →

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