#252696#252696

#252696 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.176 H 272.7°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#252696
RGBrgb(37, 38, 150)
HSLhsl(239, 60%, 37%)
HSVhsv(239, 75%, 59%)
CMYKcmyk(75.3%, 74.7%, 0%, 41.2%)
CIE-LABlab(23.61, 38.45, -60.76)
CIE-LCHlch(23.61, 71.90, 302.33°)
OKLaboklab(35.77% 0.0082 -0.1758)
OKLCHoklch(35.77% 0.176 272.7)
XYZxyz(6.9592, 3.9808, 29.2499)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252696 #969525
analogous
#255F96 #252696 #5D2596
triadic
#252696 #962526 #269625
tetradic
#252696 #96255F #969525 #25965D
square
#252696 #96255F #969525 #25965D
split-complementary
#252696 #965D25 #5F9625
monochromatic
#0D0D34 #191A65 #252696 #3132C7 #5E5FD7

Accessibility & contrast

On white

11.69
#252696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#252696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252696
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252696#FFFFFF#000000##FFFFFF
##2526961.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003394
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #252696;
/* rgb */ color: rgb(37, 38, 150);
/* oklch */ color: oklch(35.8% 0.176 272.7);
Tailwind
colors: {
  custom: {
    50: '#7362b6',
    500: '#252696',
    950: '#000000',
  },
}
SCSS
$custom: #252696;
$custom-light: #7362b6;
$custom-dark: #000000;
JSON
{
  "hex": "#252696",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 239.469,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35772,
    "c": 0.17601,
    "h": 272.7
  },
  "luminance": 0.03982
}

Semantic roles & 50–950 ramp

primary
#252696
secondary
#BCBB5B
accent
#E244E4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #252696

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

Preview Lab → · Contrast checker → · Palette generator →

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