#252194#252194

#252194 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.178 H 273.5°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#252194
RGBrgb(37, 33, 148)
HSLhsl(242, 64%, 35%)
HSVhsv(242, 78%, 58%)
CMYKcmyk(75%, 77.7%, 0%, 42%)
CIE-LABlab(22.37, 40.65, -61.57)
CIE-LCHlch(22.37, 73.78, 303.44°)
OKLaboklab(34.83% 0.011 -0.1781)
OKLCHoklch(34.83% 0.178 273.5)
XYZxyz(6.6503, 3.6185, 28.3592)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252194 #909421
analogous
#215694 #252194 #5E2194
triadic
#252194 #942521 #219425
tetradic
#252194 #942156 #909421 #21945E
square
#252194 #942156 #909421 #21945E
split-complementary
#252194 #945E21 #569421
monochromatic
#0C0B30 #181662 #252194 #322CC6 #5B56D9

Accessibility & contrast

On white

12.18
#252194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252194
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252194#FFFFFF#000000##FFFFFF
##2521941.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252194;
/* rgb */ color: rgb(37, 33, 148);
/* oklch */ color: oklch(34.8% 0.178 273.5);
Tailwind
colors: {
  custom: {
    50: '#735eb5',
    500: '#252194',
    950: '#000000',
  },
}
SCSS
$custom: #252194;
$custom-light: #735eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#252194",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 242.087,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34829,
    "c": 0.17849,
    "h": 273.5
  },
  "luminance": 0.03619
}

Semantic roles & 50–950 ramp

primary
#252194
secondary
#B9BD54
accent
#E741E1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #252194

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

Preview Lab → · Contrast checker → · Palette generator →

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