#252092#252092

#252092 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.177 H 273.8°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#252092
RGBrgb(37, 32, 146)
HSLhsl(243, 64%, 35%)
HSVhsv(243, 78%, 57%)
CMYKcmyk(74.7%, 78.1%, 0%, 42.7%)
CIE-LABlab(21.95, 40.54, -61.03)
CIE-LCHlch(21.95, 73.27, 303.60°)
OKLaboklab(34.47% 0.0119 -0.1766)
OKLCHoklch(34.47% 0.177 273.8)
XYZxyz(6.4660, 3.5010, 27.5235)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252092 #8D9220
analogous
#205492 #252092 #5E2092
triadic
#252092 #922520 #209225
tetradic
#252092 #922054 #8D9220 #20925E
square
#252092 #922054 #8D9220 #20925E
split-complementary
#252092 #925E20 #549220
monochromatic
#0C0A2E #181560 #252092 #322BC4 #5953D9

Accessibility & contrast

On white

12.35
#252092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#252092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252092
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252092#FFFFFF#000000##FFFFFF
##2520921.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A95
Deuteranopia (green-blind)
#002F90
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #252092;
/* rgb */ color: rgb(37, 32, 146);
/* oklch */ color: oklch(34.5% 0.177 273.8);
Tailwind
colors: {
  custom: {
    50: '#725eb3',
    500: '#252092',
    950: '#000000',
  },
}
SCSS
$custom: #252092;
$custom-light: #725eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#252092",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 242.632,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34467,
    "c": 0.17696,
    "h": 273.8
  },
  "luminance": 0.03502
}

Semantic roles & 50–950 ramp

primary
#252092
secondary
#B8BD51
accent
#E741E0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #252092

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

Preview Lab → · Contrast checker → · Palette generator →

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