#252C8D#252C8D

#252C8D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.158 H 272.2°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#252C8D
RGBrgb(37, 44, 141)
HSLhsl(236, 58%, 35%)
HSVhsv(236, 74%, 55%)
CMYKcmyk(73.8%, 68.8%, 0%, 44.7%)
CIE-LABlab(24.05, 31.50, -54.46)
CIE-LCHlch(24.05, 62.91, 300.05°)
OKLaboklab(35.82% 0.0061 -0.1574)
OKLCHoklch(35.82% 0.158 272.2)
XYZxyz(6.4697, 4.1171, 25.6479)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C8D #8D8625
analogous
#25608D #252C8D #52258D
triadic
#252C8D #8D252C #2C8D25
tetradic
#252C8D #8D2560 #8D8625 #258D52
square
#252C8D #8D2560 #8D8625 #258D52
split-complementary
#252C8D #8D5225 #608D25
monochromatic
#0C0E2C #181D5D #252C8D #323BBD #5961D3

Accessibility & contrast

On white

11.52
#252C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#252C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252C8D
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C8D#FFFFFF#000000##FFFFFF
##252C8D1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #252c8d;
/* rgb */ color: rgb(37, 44, 141);
/* oklch */ color: oklch(35.8% 0.158 272.2);
Tailwind
colors: {
  custom: {
    50: '#7065af',
    500: '#252c8d',
    950: '#000000',
  },
}
SCSS
$custom: #252c8d;
$custom-light: #7065af;
$custom-dark: #000000;
JSON
{
  "hex": "#252c8d",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 235.962,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35818,
    "c": 0.15756,
    "h": 272.2
  },
  "luminance": 0.04118
}

Semantic roles & 50–950 ramp

primary
#252C8D
secondary
#B8B156
accent
#D746E2
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #252C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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