#252190#252190

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

Color values

HEX#252190
RGBrgb(37, 33, 144)
HSLhsl(242, 63%, 35%)
HSVhsv(242, 77%, 56%)
CMYKcmyk(74.3%, 77.1%, 0%, 43.5%)
CIE-LABlab(21.92, 39.31, -59.83)
CIE-LCHlch(21.92, 71.59, 303.30°)
OKLaboklab(34.38% 0.0118 -0.1731)
OKLCHoklch(34.38% 0.173 273.9)
XYZxyz(6.3392, 3.4940, 26.7205)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252190 #8C9021
analogous
#215590 #252190 #5D2190
triadic
#252190 #902521 #219025
tetradic
#252190 #902155 #8C9021 #21905D
square
#252190 #902155 #8C9021 #21905D
split-complementary
#252190 #905D21 #559021
monochromatic
#0B0A2C #18165E #252190 #322CC2 #5854D8

Accessibility & contrast

On white

12.36
#252190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252190
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252190#FFFFFF#000000##FFFFFF
##2521901.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#002F8E
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #252190;
/* rgb */ color: rgb(37, 33, 144);
/* oklch */ color: oklch(34.4% 0.173 273.9);
Tailwind
colors: {
  custom: {
    50: '#725eb2',
    500: '#252190',
    950: '#000000',
  },
}
SCSS
$custom: #252190;
$custom-light: #725eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#252190",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 242.162,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34383,
    "c": 0.17348,
    "h": 273.9
  },
  "luminance": 0.03495
}

Semantic roles & 50–950 ramp

primary
#252190
secondary
#B8BB51
accent
#E642E0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #252190

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

Preview Lab → · Contrast checker → · Palette generator →

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