#252193#252193

#252193 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.177 H 273.6°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#252193
RGBrgb(37, 33, 147)
HSLhsl(242, 63%, 35%)
HSVhsv(242, 78%, 58%)
CMYKcmyk(74.8%, 77.6%, 0%, 42.4%)
CIE-LABlab(22.26, 40.32, -61.14)
CIE-LCHlch(22.26, 73.24, 303.40°)
OKLaboklab(34.72% 0.0112 -0.1769)
OKLCHoklch(34.72% 0.177 273.6)
XYZxyz(6.5715, 3.5869, 27.9441)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252193 #8F9321
analogous
#215693 #252193 #5E2193
triadic
#252193 #932521 #219325
tetradic
#252193 #932156 #8F9321 #21935E
square
#252193 #932156 #8F9321 #21935E
split-complementary
#252193 #935E21 #569321
monochromatic
#0C0B2F #181661 #252193 #322CC5 #5A55D9

Accessibility & contrast

On white

12.23
#252193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#252193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252193
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252193#FFFFFF#000000##FFFFFF
##2521931.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B96
Deuteranopia (green-blind)
#003091
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #252193;
/* rgb */ color: rgb(37, 33, 147);
/* oklch */ color: oklch(34.7% 0.177 273.6);
Tailwind
colors: {
  custom: {
    50: '#725eb4',
    500: '#252193',
    950: '#000000',
  },
}
SCSS
$custom: #252193;
$custom-light: #725eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#252193",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 242.105,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34717,
    "c": 0.17724,
    "h": 273.6
  },
  "luminance": 0.03588
}

Semantic roles & 50–950 ramp

primary
#252193
secondary
#B9BD53
accent
#E641E1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #252193

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

Preview Lab → · Contrast checker → · Palette generator →

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