#252596#252596

#252596 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.177 H 272.8°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#252596
RGBrgb(37, 37, 150)
HSLhsl(240, 60%, 37%)
HSVhsv(240, 75%, 59%)
CMYKcmyk(75.3%, 75.3%, 0%, 41.2%)
CIE-LABlab(23.40, 39.04, -61.11)
CIE-LCHlch(23.40, 72.51, 302.58°)
OKLaboklab(35.62% 0.0087 -0.1768)
OKLCHoklch(35.62% 0.177 272.8)
XYZxyz(6.9277, 3.9177, 29.2393)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252596 #969625
analogous
#255E96 #252596 #5E2596
triadic
#252596 #962525 #259625
tetradic
#252596 #96255E #969625 #25965E
square
#252596 #96255E #969625 #25965E
split-complementary
#252596 #965E25 #5E9625
monochromatic
#0D0D34 #191965 #252596 #3131C7 #5E5ED7

Accessibility & contrast

On white

11.77
#252596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#252596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252596
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252596#FFFFFF#000000##FFFFFF
##2525961.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003294
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #252596;
/* rgb */ color: rgb(37, 37, 150);
/* oklch */ color: oklch(35.6% 0.177 272.8);
Tailwind
colors: {
  custom: {
    50: '#7361b6',
    500: '#252596',
    950: '#000000',
  },
}
SCSS
$custom: #252596;
$custom-light: #7361b6;
$custom-dark: #000000;
JSON
{
  "hex": "#252596",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 240,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35623,
    "c": 0.17703,
    "h": 272.8
  },
  "luminance": 0.03918
}

Semantic roles & 50–950 ramp

primary
#252596
secondary
#BCBC5B
accent
#E444E4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #252596

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

Preview Lab → · Contrast checker → · Palette generator →

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