#252293#252293

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

Color values

HEX#252293
RGBrgb(37, 34, 147)
HSLhsl(242, 62%, 35%)
HSVhsv(242, 77%, 58%)
CMYKcmyk(74.8%, 76.9%, 0%, 42.4%)
CIE-LABlab(22.46, 39.75, -60.81)
CIE-LCHlch(22.46, 72.65, 303.17°)
OKLaboklab(34.86% 0.0107 -0.1759)
OKLCHoklch(34.86% 0.176 273.5)
XYZxyz(6.5997, 3.6433, 27.9535)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252293 #909322
analogous
#225793 #252293 #5D2293
triadic
#252293 #932522 #229325
tetradic
#252293 #932257 #909322 #22935D
square
#252293 #932257 #909322 #22935D
split-complementary
#252293 #935D22 #579322
monochromatic
#0C0B30 #181761 #252293 #322DC5 #5B57D8

Accessibility & contrast

On white

12.15
#252293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#252293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252293
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252293#FFFFFF#000000##FFFFFF
##2522931.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252293;
/* rgb */ color: rgb(37, 34, 147);
/* oklch */ color: oklch(34.9% 0.176 273.5);
Tailwind
colors: {
  custom: {
    50: '#725fb4',
    500: '#252293',
    950: '#000000',
  },
}
SCSS
$custom: #252293;
$custom-light: #725fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#252293",
  "rgb": {
    "r": 37,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 241.593,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34858,
    "c": 0.17627,
    "h": 273.5
  },
  "luminance": 0.03644
}

Semantic roles & 50–950 ramp

primary
#252293
secondary
#B9BC55
accent
#E542E1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #252293

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

Preview Lab → · Contrast checker → · Palette generator →

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