#252373#252373

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

Color values

HEX#252373
RGBrgb(37, 35, 115)
HSLhsl(242, 53%, 29%)
HSVhsv(242, 70%, 45%)
CMYKcmyk(67.8%, 69.6%, 0%, 54.9%)
CIE-LABlab(19.36, 27.89, -45.72)
CIE-LCHlch(19.36, 53.56, 301.38°)
OKLaboklab(31.65% 0.0156 -0.1319)
OKLCHoklch(31.65% 0.133 276.7)
XYZxyz(4.4575, 2.8328, 16.5282)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252373 #717323
analogous
#234973 #252373 #4D2373
triadic
#252373 #732523 #237325
tetradic
#252373 #732349 #717323 #23734D
square
#252373 #732349 #717323 #23734D
split-complementary
#252373 #734D23 #497323
monochromatic
#080717 #161544 #252373 #3431A2 #4C49C8

Accessibility & contrast

On white

13.40
#252373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#252373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252373
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252373#FFFFFF#000000##FFFFFF
##2523731.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003275
Deuteranopia (green-blind)
#002B71
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #252373;
/* rgb */ color: rgb(37, 35, 115);
/* oklch */ color: oklch(31.6% 0.133 276.7);
Tailwind
colors: {
  custom: {
    50: '#6a5e9c',
    500: '#252373',
    950: '#000000',
  },
}
SCSS
$custom: #252373;
$custom-light: #6a5e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#252373",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 115
  },
  "hsl": {
    "h": 241.5,
    "s": 53.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31646,
    "c": 0.13281,
    "h": 276.7
  },
  "luminance": 0.02833
}

Semantic roles & 50–950 ramp

primary
#252373
secondary
#A4A64C
accent
#DD4BD9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #252373

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

Preview Lab → · Contrast checker → · Palette generator →

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