#252173#252173

#252173 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.135 H 277.3°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#252173
RGBrgb(37, 33, 115)
HSLhsl(243, 55%, 29%)
HSVhsv(243, 71%, 45%)
CMYKcmyk(67.8%, 71.3%, 0%, 54.9%)
CIE-LABlab(18.88, 29.19, -46.51)
CIE-LCHlch(18.88, 54.91, 302.12°)
OKLaboklab(31.3% 0.0172 -0.1342)
OKLCHoklch(31.3% 0.135 277.3)
XYZxyz(4.4003, 2.7185, 16.5092)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252173 #6F7321
analogous
#214673 #252173 #4E2173
triadic
#252173 #732521 #217325
tetradic
#252173 #732146 #6F7321 #21734E
square
#252173 #732146 #6F7321 #21734E
split-complementary
#252173 #734E21 #467321
monochromatic
#080718 #161343 #252173 #342FA3 #4B45CA

Accessibility & contrast

On white

13.60
#252173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#252173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252173
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252173#FFFFFF#000000##FFFFFF
##2521731.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#002A71
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #252173;
/* rgb */ color: rgb(37, 33, 115);
/* oklch */ color: oklch(31.3% 0.135 277.3);
Tailwind
colors: {
  custom: {
    50: '#6b5d9c',
    500: '#252173',
    950: '#000000',
  },
}
SCSS
$custom: #252173;
$custom-light: #6b5d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#252173",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 242.927,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31298,
    "c": 0.13531,
    "h": 277.3
  },
  "luminance": 0.02719
}

Semantic roles & 50–950 ramp

primary
#252173
secondary
#A2A649
accent
#DF49D7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #252173

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

Preview Lab → · Contrast checker → · Palette generator →

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