#252176#252176

#252176 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.139 H 276.9°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#252176
RGBrgb(37, 33, 118)
HSLhsl(243, 56%, 30%)
HSVhsv(243, 72%, 46%)
CMYKcmyk(68.6%, 72%, 0%, 53.7%)
CIE-LABlab(19.18, 30.27, -47.95)
CIE-LCHlch(19.18, 56.71, 302.26°)
OKLaboklab(31.6% 0.0168 -0.1384)
OKLCHoklch(31.6% 0.139 276.9)
XYZxyz(4.5758, 2.7886, 17.4332)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252176 #727621
analogous
#214776 #252176 #502176
triadic
#252176 #762521 #217625
tetradic
#252176 #762147 #727621 #217650
square
#252176 #762147 #727621 #217650
split-complementary
#252176 #765021 #477621
monochromatic
#070718 #161446 #252176 #342EA6 #4C46CB

Accessibility & contrast

On white

13.48
#252176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#252176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252176
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252176#FFFFFF#000000##FFFFFF
##2521761.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #252176;
/* rgb */ color: rgb(37, 33, 118);
/* oklch */ color: oklch(31.6% 0.139 276.9);
Tailwind
colors: {
  custom: {
    50: '#6b5d9e',
    500: '#252176',
    950: '#000000',
  },
}
SCSS
$custom: #252176;
$custom-light: #6b5d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#252176",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 242.824,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31603,
    "c": 0.13944,
    "h": 276.9
  },
  "luminance": 0.02789
}

Semantic roles & 50–950 ramp

primary
#252176
secondary
#A5A94A
accent
#E048D8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #252176

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

Preview Lab → · Contrast checker → · Palette generator →

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