#252C9A#252C9A

#252C9A is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.175 H 271.5°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#252C9A
RGBrgb(37, 44, 154)
HSLhsl(236, 61%, 37%)
HSVhsv(236, 76%, 60%)
CMYKcmyk(76%, 71.4%, 0%, 39.6%)
CIE-LABlab(25.34, 36.21, -60.35)
CIE-LCHlch(25.34, 70.38, 300.96°)
OKLaboklab(37.14% 0.0045 -0.1747)
OKLCHoklch(37.14% 0.175 271.5)
XYZxyz(7.4944, 4.5270, 31.0444)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C9A #9A9325
analogous
#25679A #252C9A #58259A
triadic
#252C9A #9A252C #2C9A25
tetradic
#252C9A #9A2567 #9A9325 #259A58
square
#252C9A #9A2567 #9A9325 #259A58
split-complementary
#252C9A #9A5825 #679A25
monochromatic
#0D1037 #191E69 #252C9A #313ACB #6068D9

Accessibility & contrast

On white

11.02
#252C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252C9A
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C9A#FFFFFF#000000##FFFFFF
##252C9A1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252c9a;
/* rgb */ color: rgb(37, 44, 154);
/* oklch */ color: oklch(37.1% 0.175 271.5);
Tailwind
colors: {
  custom: {
    50: '#7366b9',
    500: '#252c9a',
    950: '#000000',
  },
}
SCSS
$custom: #252c9a;
$custom-light: #7366b9;
$custom-dark: #000000;
JSON
{
  "hex": "#252c9a",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 154
  },
  "hsl": {
    "h": 236.41,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37139,
    "c": 0.17472,
    "h": 271.5
  },
  "luminance": 0.04528
}

Semantic roles & 50–950 ramp

primary
#252C9A
secondary
#BEB85D
accent
#DB43E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #252C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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