#252593#252593

#252593 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.173 H 273.1°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#252593
RGBrgb(37, 37, 147)
HSLhsl(240, 60%, 36%)
HSVhsv(240, 75%, 58%)
CMYKcmyk(74.8%, 74.8%, 0%, 42.4%)
CIE-LABlab(23.08, 38.01, -59.79)
CIE-LCHlch(23.08, 70.84, 302.44°)
OKLaboklab(35.3% 0.0093 -0.173)
OKLCHoklch(35.3% 0.173 273.1)
XYZxyz(6.6892, 3.8224, 27.9834)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252593 #939325
analogous
#255C93 #252593 #5C2593
triadic
#252593 #932525 #259325
tetradic
#252593 #93255C #939325 #25935C
square
#252593 #93255C #939325 #25935C
split-complementary
#252593 #935C25 #5C9325
monochromatic
#0C0C31 #191962 #252593 #3131C4 #5C5CD6

Accessibility & contrast

On white

11.90
#252593 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#252593 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252593
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252593#FFFFFF#000000##FFFFFF
##2525931.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C96
Deuteranopia (green-blind)
#003291
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #252593;
/* rgb */ color: rgb(37, 37, 147);
/* oklch */ color: oklch(35.3% 0.173 273.1);
Tailwind
colors: {
  custom: {
    50: '#7261b4',
    500: '#252593',
    950: '#000000',
  },
}
SCSS
$custom: #252593;
$custom-light: #7261b4;
$custom-dark: #000000;
JSON
{
  "hex": "#252593",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 147
  },
  "hsl": {
    "h": 240,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35297,
    "c": 0.17323,
    "h": 273.1
  },
  "luminance": 0.03823
}

Semantic roles & 50–950 ramp

primary
#252593
secondary
#BBBB59
accent
#E345E3
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #252593

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

Preview Lab → · Contrast checker → · Palette generator →

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