#252C93#252C93

#252C93 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.166 H 271.9°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#252C93
RGBrgb(37, 44, 147)
HSLhsl(236, 60%, 36%)
HSVhsv(236, 75%, 58%)
CMYKcmyk(74.8%, 70.1%, 0%, 42.4%)
CIE-LABlab(24.64, 33.69, -57.21)
CIE-LCHlch(24.64, 66.39, 300.49°)
OKLaboklab(36.42% 0.0054 -0.1655)
OKLCHoklch(36.42% 0.166 271.9)
XYZxyz(6.9283, 4.3005, 28.0631)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C93 #938C25
analogous
#256393 #252C93 #552593
triadic
#252C93 #93252C #2C9325
tetradic
#252C93 #932563 #938C25 #259355
square
#252C93 #932563 #938C25 #259355
split-complementary
#252C93 #935525 #639325
monochromatic
#0C0F31 #191D62 #252C93 #313BC4 #5C64D6

Accessibility & contrast

On white

11.29
#252C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#252C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252C93
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C93#FFFFFF#000000##FFFFFF
##252C931.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003591
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #252c93;
/* rgb */ color: rgb(37, 44, 147);
/* oklch */ color: oklch(36.4% 0.166 271.9);
Tailwind
colors: {
  custom: {
    50: '#7165b4',
    500: '#252c93',
    950: '#000000',
  },
}
SCSS
$custom: #252c93;
$custom-light: #7165b4;
$custom-dark: #000000;
JSON
{
  "hex": "#252c93",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 236.182,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36421,
    "c": 0.16557,
    "h": 271.9
  },
  "luminance": 0.04301
}

Semantic roles & 50–950 ramp

primary
#252C93
secondary
#BBB559
accent
#D945E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #252C93

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

Preview Lab → · Contrast checker → · Palette generator →

#252C93 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva