#252091#252091

#252091 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.176 H 273.9°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#252091
RGBrgb(37, 32, 145)
HSLhsl(243, 64%, 35%)
HSVhsv(243, 78%, 57%)
CMYKcmyk(74.5%, 77.9%, 0%, 43.1%)
CIE-LABlab(21.84, 40.21, -60.60)
CIE-LCHlch(21.84, 72.72, 303.57°)
OKLaboklab(34.36% 0.0121 -0.1753)
OKLCHoklch(34.36% 0.176 273.9)
XYZxyz(6.3886, 3.4700, 27.1157)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252091 #8C9120
analogous
#205491 #252091 #5E2091
triadic
#252091 #912520 #209125
tetradic
#252091 #912054 #8C9120 #20915E
square
#252091 #912054 #8C9120 #20915E
split-complementary
#252091 #915E20 #549120
monochromatic
#0B0A2D #18155F #252091 #322BC3 #5852D9

Accessibility & contrast

On white

12.40
#252091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#252091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252091
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252091#FFFFFF#000000##FFFFFF
##2520911.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003994
Deuteranopia (green-blind)
#002F8F
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #252091;
/* rgb */ color: rgb(37, 32, 145);
/* oklch */ color: oklch(34.4% 0.176 273.9);
Tailwind
colors: {
  custom: {
    50: '#725eb2',
    500: '#252091',
    950: '#000000',
  },
}
SCSS
$custom: #252091;
$custom-light: #725eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#252091",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 242.655,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34355,
    "c": 0.17571,
    "h": 273.9
  },
  "luminance": 0.03471
}

Semantic roles & 50–950 ramp

primary
#252091
secondary
#B8BC51
accent
#E741E0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #252091

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

Preview Lab → · Contrast checker → · Palette generator →

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