#252686#252686

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

Color values

HEX#252686
RGBrgb(37, 38, 134)
HSLhsl(239, 57%, 34%)
HSVhsv(239, 72%, 53%)
CMYKcmyk(72.4%, 71.6%, 0%, 47.5%)
CIE-LABlab(21.95, 32.81, -53.55)
CIE-LCHlch(21.95, 62.81, 301.50°)
OKLaboklab(34.08% 0.0108 -0.1548)
OKLCHoklch(34.08% 0.155 274)
XYZxyz(5.7577, 3.5002, 22.9218)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252686 #868525
analogous
#255686 #252686 #542586
triadic
#252686 #862526 #268625
tetradic
#252686 #862556 #868525 #258654
square
#252686 #862556 #868525 #258654
split-complementary
#252686 #865425 #568625
monochromatic
#0B0B26 #181856 #252686 #3234B6 #5557D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##252686#FFFFFF#000000##FFFFFF
##2526861.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)
#003989
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#004053
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #252686;
/* rgb */ color: rgb(37, 38, 134);
/* oklch */ color: oklch(34.1% 0.155 274.0);
Tailwind
colors: {
  custom: {
    50: '#6f61aa',
    500: '#252686',
    950: '#000000',
  },
}
SCSS
$custom: #252686;
$custom-light: #6f61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#252686",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 239.381,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34083,
    "c": 0.15519,
    "h": 274
  },
  "luminance": 0.03501
}

Semantic roles & 50–950 ramp

primary
#252686
secondary
#B4B352
accent
#DE48E0
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #252686

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

Preview Lab → · Contrast checker → · Palette generator →

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