#252090#252090

#252090 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.174 H 274.0°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#252090
RGBrgb(37, 32, 144)
HSLhsl(243, 64%, 35%)
HSVhsv(243, 78%, 56%)
CMYKcmyk(74.3%, 77.8%, 0%, 43.5%)
CIE-LABlab(21.72, 39.87, -60.16)
CIE-LCHlch(21.72, 72.17, 303.54°)
OKLaboklab(34.24% 0.0123 -0.174)
OKLCHoklch(34.24% 0.174 274)
XYZxyz(6.3118, 3.4393, 26.7114)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252090 #8B9020
analogous
#205390 #252090 #5D2090
triadic
#252090 #902520 #209025
tetradic
#252090 #902053 #8B9020 #20905D
square
#252090 #902053 #8B9020 #20905D
split-complementary
#252090 #905D20 #539020
monochromatic
#0B0A2C #18155E #252090 #322BC2 #5852D9

Accessibility & contrast

On white

12.44
#252090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252090
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252090#FFFFFF#000000##FFFFFF
##2520901.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#002F8E
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #252090;
/* rgb */ color: rgb(37, 32, 144);
/* oklch */ color: oklch(34.2% 0.174 274.0);
Tailwind
colors: {
  custom: {
    50: '#725eb2',
    500: '#252090',
    950: '#000000',
  },
}
SCSS
$custom: #252090;
$custom-light: #725eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#252090",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 242.679,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34243,
    "c": 0.17447,
    "h": 274
  },
  "luminance": 0.0344
}

Semantic roles & 50–950 ramp

primary
#252090
secondary
#B7BC50
accent
#E741DF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #252090

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

Preview Lab → · Contrast checker → · Palette generator →

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