#252C9B#252C9B

#252C9B is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.176 H 271.4°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#252C9B
RGBrgb(37, 44, 155)
HSLhsl(236, 61%, 38%)
HSVhsv(236, 76%, 61%)
CMYKcmyk(76.1%, 71.6%, 0%, 39.2%)
CIE-LABlab(25.44, 36.56, -60.80)
CIE-LCHlch(25.44, 70.95, 301.02°)
OKLaboklab(37.24% 0.0044 -0.176)
OKLCHoklch(37.24% 0.176 271.4)
XYZxyz(7.5780, 4.5604, 31.4849)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C9B #9B9425
analogous
#25679B #252C9B #59259B
triadic
#252C9B #9B252C #2C9B25
tetradic
#252C9B #9B2567 #9B9425 #259B59
square
#252C9B #9B2567 #9B9425 #259B59
split-complementary
#252C9B #9B5925 #679B25
monochromatic
#0D1038 #191E6A #252C9B #313ACC #6168D9

Accessibility & contrast

On white

10.98
#252C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#252C9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252C9B
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C9B#FFFFFF#000000##FFFFFF
##252C9B1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #252c9b;
/* rgb */ color: rgb(37, 44, 155);
/* oklch */ color: oklch(37.2% 0.176 271.4);
Tailwind
colors: {
  custom: {
    50: '#7366ba',
    500: '#252c9b',
    950: '#000000',
  },
}
SCSS
$custom: #252c9b;
$custom-light: #7366ba;
$custom-dark: #000000;
JSON
{
  "hex": "#252c9b",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 155
  },
  "hsl": {
    "h": 236.441,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37242,
    "c": 0.17601,
    "h": 271.4
  },
  "luminance": 0.04561
}

Semantic roles & 50–950 ramp

primary
#252C9B
secondary
#BFB95D
accent
#DB43E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #252C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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