#252C9D#252C9D

#252C9D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.179 H 271.3°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#252C9D
RGBrgb(37, 44, 157)
HSLhsl(237, 62%, 38%)
HSVhsv(237, 76%, 62%)
CMYKcmyk(76.4%, 72%, 0%, 38.4%)
CIE-LABlab(25.65, 37.27, -61.68)
CIE-LCHlch(25.65, 72.07, 301.14°)
OKLaboklab(37.45% 0.0041 -0.1785)
OKLCHoklch(37.45% 0.179 271.3)
XYZxyz(7.7474, 4.6282, 32.3768)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C9D #9D9625
analogous
#25689D #252C9D #5A259D
triadic
#252C9D #9D252C #2C9D25
tetradic
#252C9D #9D2568 #9D9625 #259D5A
square
#252C9D #9D2568 #9D9625 #259D5A
split-complementary
#252C9D #9D5A25 #689D25
monochromatic
#0E103A #191E6B #252C9D #313ACE #6269DA

Accessibility & contrast

On white

10.90
#252C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#252C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252C9D
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C9D#FFFFFF#000000##FFFFFF
##252C9D1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #252c9d;
/* rgb */ color: rgb(37, 44, 157);
/* oklch */ color: oklch(37.5% 0.179 271.3);
Tailwind
colors: {
  custom: {
    50: '#7466bb',
    500: '#252c9d',
    950: '#000000',
  },
}
SCSS
$custom: #252c9d;
$custom-light: #7466bb;
$custom-dark: #000000;
JSON
{
  "hex": "#252c9d",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 157
  },
  "hsl": {
    "h": 236.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.3745,
    "c": 0.17859,
    "h": 271.3
  },
  "luminance": 0.04629
}

Semantic roles & 50–950 ramp

primary
#252C9D
secondary
#BFBA5E
accent
#DB43E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #252C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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