#252177#252177

#252177 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.141 H 276.8°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#252177
RGBrgb(37, 33, 119)
HSLhsl(243, 57%, 30%)
HSVhsv(243, 72%, 47%)
CMYKcmyk(68.9%, 72.3%, 0%, 53.3%)
CIE-LABlab(19.28, 30.62, -48.43)
CIE-LCHlch(19.28, 57.30, 302.31°)
OKLaboklab(31.71% 0.0166 -0.1398)
OKLCHoklch(31.71% 0.141 276.8)
XYZxyz(4.6355, 2.8125, 17.7478)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252177 #737721
analogous
#214877 #252177 #502177
triadic
#252177 #772521 #217725
tetradic
#252177 #772148 #737721 #217750
square
#252177 #772148 #737721 #217750
split-complementary
#252177 #775021 #487721
monochromatic
#070718 #161447 #252177 #342EA7 #4D47CC

Accessibility & contrast

On white

13.44
#252177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252177
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252177#FFFFFF#000000##FFFFFF
##2521771.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327A
Deuteranopia (green-blind)
#002B75
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #252177;
/* rgb */ color: rgb(37, 33, 119);
/* oklch */ color: oklch(31.7% 0.141 276.8);
Tailwind
colors: {
  custom: {
    50: '#6c5d9f',
    500: '#252177',
    950: '#000000',
  },
}
SCSS
$custom: #252177;
$custom-light: #6c5d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#252177",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 242.791,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31706,
    "c": 0.1408,
    "h": 276.8
  },
  "luminance": 0.02813
}

Semantic roles & 50–950 ramp

primary
#252177
secondary
#A6AA4A
accent
#E048D9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040F
muted
#7A797E

Preview Lab

Preview with #252177

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

Preview Lab → · Contrast checker → · Palette generator →

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