#252376#252376

#252376 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.137 H 276.4°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#252376
RGBrgb(37, 35, 118)
HSLhsl(241, 54%, 30%)
HSVhsv(241, 70%, 46%)
CMYKcmyk(68.6%, 70.3%, 0%, 53.7%)
CIE-LABlab(19.65, 28.98, -47.17)
CIE-LCHlch(19.65, 55.36, 301.56°)
OKLaboklab(31.95% 0.0152 -0.1361)
OKLCHoklch(31.95% 0.137 276.4)
XYZxyz(4.6329, 2.9030, 17.4522)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252376 #747623
analogous
#234A76 #252376 #4F2376
triadic
#252376 #762523 #237625
tetradic
#252376 #76234A #747623 #23764F
square
#252376 #76234A #747623 #23764F
split-complementary
#252376 #764F23 #4A7623
monochromatic
#070718 #161547 #252376 #3431A5 #4D4AC9

Accessibility & contrast

On white

13.29
#252376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#252376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252376
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252376#FFFFFF#000000##FFFFFF
##2523761.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #252376;
/* rgb */ color: rgb(37, 35, 118);
/* oklch */ color: oklch(31.9% 0.137 276.4);
Tailwind
colors: {
  custom: {
    50: '#6b5e9e',
    500: '#252376',
    950: '#000000',
  },
}
SCSS
$custom: #252376;
$custom-light: #6b5e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#252376",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 241.446,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.31945,
    "c": 0.137,
    "h": 276.4
  },
  "luminance": 0.02903
}

Semantic roles & 50–950 ramp

primary
#252376
secondary
#A7A94C
accent
#DE4ADA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #252376

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

Preview Lab → · Contrast checker → · Palette generator →

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