#252087#252087

#252087 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.163 H 275.0°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#252087
RGBrgb(37, 32, 135)
HSLhsl(243, 62%, 33%)
HSVhsv(243, 76%, 53%)
CMYKcmyk(72.6%, 76.3%, 0%, 47.1%)
CIE-LABlab(20.73, 36.82, -56.18)
CIE-LCHlch(20.73, 67.17, 303.24°)
OKLaboklab(33.25% 0.0143 -0.1624)
OKLCHoklch(33.25% 0.163 275)
XYZxyz(5.6512, 3.1751, 23.2320)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252087 #828720
analogous
#204E87 #252087 #592087
triadic
#252087 #872520 #208725
tetradic
#252087 #87204E #828720 #208759
square
#252087 #87204E #828720 #208759
split-complementary
#252087 #875920 #4E8720
monochromatic
#0A0924 #171456 #252087 #332CB8 #534DD5

Accessibility & contrast

On white

12.84
#252087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#252087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252087
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252087#FFFFFF#000000##FFFFFF
##2520871.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#002D85
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #252087;
/* rgb */ color: rgb(37, 32, 135);
/* oklch */ color: oklch(33.2% 0.163 275.0);
Tailwind
colors: {
  custom: {
    50: '#705dab',
    500: '#252087',
    950: '#000000',
  },
}
SCSS
$custom: #252087;
$custom-light: #705dab;
$custom-dark: #000000;
JSON
{
  "hex": "#252087",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 242.913,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33248,
    "c": 0.16306,
    "h": 275
  },
  "luminance": 0.03176
}

Semantic roles & 50–950 ramp

primary
#252087
secondary
#B2B84B
accent
#E543DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #252087

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

Preview Lab → · Contrast checker → · Palette generator →

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