#252393#252393

#252393 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.175 H 273.4°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#252393
RGBrgb(37, 35, 147)
HSLhsl(241, 62%, 36%)
HSVhsv(241, 76%, 58%)
CMYKcmyk(74.8%, 76.2%, 0%, 42.4%)
CIE-LABlab(22.66, 39.18, -60.48)
CIE-LCHlch(22.66, 72.06, 302.94°)
OKLaboklab(35% 0.0103 -0.175)
OKLCHoklch(35% 0.175 273.4)
XYZxyz(6.6287, 3.7013, 27.9632)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252393 #919323
analogous
#235993 #252393 #5D2393
triadic
#252393 #932523 #239325
tetradic
#252393 #932359 #919323 #23935D
square
#252393 #932359 #919323 #23935D
split-complementary
#252393 #935D23 #599323
monochromatic
#0C0B30 #191762 #252393 #312FC4 #5B59D7

Accessibility & contrast

On white

12.07
#252393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#252393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252393
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252393#FFFFFF#000000##FFFFFF
##2523931.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252393;
/* rgb */ color: rgb(37, 35, 147);
/* oklch */ color: oklch(35.0% 0.175 273.4);
Tailwind
colors: {
  custom: {
    50: '#7260b4',
    500: '#252393',
    950: '#000000',
  },
}
SCSS
$custom: #252393;
$custom-light: #7260b4;
$custom-dark: #000000;
JSON
{
  "hex": "#252393",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 241.071,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35001,
    "c": 0.17527,
    "h": 273.4
  },
  "luminance": 0.03702
}

Semantic roles & 50–950 ramp

primary
#252393
secondary
#BABC56
accent
#E543E2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #252393

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

Preview Lab → · Contrast checker → · Palette generator →

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