#252192#252192

#252192 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.176 H 273.7°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#252192
RGBrgb(37, 33, 146)
HSLhsl(242, 63%, 35%)
HSVhsv(242, 77%, 57%)
CMYKcmyk(74.7%, 77.4%, 0%, 42.7%)
CIE-LABlab(22.14, 39.98, -60.70)
CIE-LCHlch(22.14, 72.69, 303.37°)
OKLaboklab(34.61% 0.0114 -0.1756)
OKLCHoklch(34.61% 0.176 273.7)
XYZxyz(6.4934, 3.5557, 27.5327)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252192 #8E9221
analogous
#215592 #252192 #5E2192
triadic
#252192 #922521 #219225
tetradic
#252192 #922155 #8E9221 #21925E
square
#252192 #922155 #8E9221 #21925E
split-complementary
#252192 #925E21 #559221
monochromatic
#0C0A2E #181660 #252192 #322CC4 #5A55D9

Accessibility & contrast

On white

12.27
#252192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#252192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252192
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252192#FFFFFF#000000##FFFFFF
##2521921.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A95
Deuteranopia (green-blind)
#003090
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #252192;
/* rgb */ color: rgb(37, 33, 146);
/* oklch */ color: oklch(34.6% 0.176 273.7);
Tailwind
colors: {
  custom: {
    50: '#725eb3',
    500: '#252192',
    950: '#000000',
  },
}
SCSS
$custom: #252192;
$custom-light: #725eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#252192",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 242.124,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34606,
    "c": 0.17599,
    "h": 273.7
  },
  "luminance": 0.03556
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #252192

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

Preview Lab → · Contrast checker → · Palette generator →

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