#252C88#252C88

#252C88 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.151 H 272.5°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#252C88
RGBrgb(37, 44, 136)
HSLhsl(236, 57%, 34%)
HSVhsv(236, 73%, 53%)
CMYKcmyk(72.8%, 67.6%, 0%, 46.7%)
CIE-LABlab(23.58, 29.66, -52.13)
CIE-LCHlch(23.58, 59.97, 299.64°)
OKLaboklab(35.32% 0.0065 -0.1506)
OKLCHoklch(35.32% 0.151 272.5)
XYZxyz(6.1061, 3.9717, 23.7326)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C88 #888125
analogous
#255E88 #252C88 #502588
triadic
#252C88 #88252C #2C8825
tetradic
#252C88 #88255E #888125 #258850
square
#252C88 #88255E #888125 #258850
split-complementary
#252C88 #885025 #5E8825
monochromatic
#0B0D28 #181C58 #252C88 #323CB8 #565FD1

Accessibility & contrast

On white

11.70
#252C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#252C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252C88
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C88#FFFFFF#000000##FFFFFF
##252C881.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #252c88;
/* rgb */ color: rgb(37, 44, 136);
/* oklch */ color: oklch(35.3% 0.151 272.5);
Tailwind
colors: {
  custom: {
    50: '#6f65ac',
    500: '#252c88',
    950: '#000000',
  },
}
SCSS
$custom: #252c88;
$custom-light: #6f65ac;
$custom-dark: #000000;
JSON
{
  "hex": "#252c88",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 136
  },
  "hsl": {
    "h": 235.758,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35324,
    "c": 0.15076,
    "h": 272.5
  },
  "luminance": 0.03972
}

Semantic roles & 50–950 ramp

primary
#252C88
secondary
#B6AF53
accent
#D647E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #252C88

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

Preview Lab → · Contrast checker → · Palette generator →

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