#252586#252586

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

Color values

HEX#252586
RGBrgb(37, 37, 134)
HSLhsl(240, 57%, 34%)
HSVhsv(240, 72%, 53%)
CMYKcmyk(72.4%, 72.4%, 0%, 47.5%)
CIE-LABlab(21.72, 33.44, -53.93)
CIE-LCHlch(21.72, 63.46, 301.80°)
OKLaboklab(33.92% 0.0115 -0.1559)
OKLCHoklch(33.92% 0.156 274.2)
XYZxyz(5.7262, 3.4371, 22.9113)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252586 #868625
analogous
#255586 #252586 #552586
triadic
#252586 #862525 #258625
tetradic
#252586 #862555 #868625 #258655
square
#252586 #862555 #868625 #258655
split-complementary
#252586 #865525 #558625
monochromatic
#0B0B26 #181856 #252586 #3232B6 #5555D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##252586#FFFFFF#000000##FFFFFF
##2525861.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)
#003989
Deuteranopia (green-blind)
#002F84
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #252586;
/* rgb */ color: rgb(37, 37, 134);
/* oklch */ color: oklch(33.9% 0.156 274.2);
Tailwind
colors: {
  custom: {
    50: '#6f60aa',
    500: '#252586',
    950: '#000000',
  },
}
SCSS
$custom: #252586;
$custom-light: #6f60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#252586",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 240,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33918,
    "c": 0.15633,
    "h": 274.2
  },
  "luminance": 0.03438
}

Semantic roles & 50–950 ramp

primary
#252586
secondary
#B4B452
accent
#E048E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #252586

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

Preview Lab → · Contrast checker → · Palette generator →

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