#252486#252486

#252486 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.157 H 274.4°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#252486
RGBrgb(37, 36, 134)
HSLhsl(241, 58%, 33%)
HSVhsv(241, 73%, 53%)
CMYKcmyk(72.4%, 73.1%, 0%, 47.5%)
CIE-LABlab(21.49, 34.06, -54.30)
CIE-LCHlch(21.49, 64.10, 302.10°)
OKLaboklab(33.76% 0.0121 -0.157)
OKLCHoklch(33.76% 0.157 274.4)
XYZxyz(5.6955, 3.3758, 22.9011)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252486 #858624
analogous
#245486 #252486 #562486
triadic
#252486 #862524 #248625
tetradic
#252486 #862454 #858624 #248656
square
#252486 #862454 #858624 #248656
split-complementary
#252486 #865624 #548624
monochromatic
#0A0A26 #181756 #252486 #3231B6 #5553D1

Accessibility & contrast

On white

12.54
#252486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#252486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252486
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252486#FFFFFF#000000##FFFFFF
##2524861.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#002F84
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #252486;
/* rgb */ color: rgb(37, 36, 134);
/* oklch */ color: oklch(33.8% 0.157 274.4);
Tailwind
colors: {
  custom: {
    50: '#6f60aa',
    500: '#252486',
    950: '#000000',
  },
}
SCSS
$custom: #252486;
$custom-light: #6f60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#252486",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 240.612,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33756,
    "c": 0.15745,
    "h": 274.4
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#252486
secondary
#B4B551
accent
#E147DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #252486

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

Preview Lab → · Contrast checker → · Palette generator →

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