#252C9C#252C9C

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

Color values

HEX#252C9C
RGBrgb(37, 44, 156)
HSLhsl(236, 62%, 38%)
HSVhsv(236, 76%, 61%)
CMYKcmyk(76.3%, 71.8%, 0%, 38.8%)
CIE-LABlab(25.55, 36.92, -61.24)
CIE-LCHlch(25.55, 71.51, 301.08°)
OKLaboklab(37.35% 0.0043 -0.1772)
OKLCHoklch(37.35% 0.177 271.4)
XYZxyz(7.6623, 4.5942, 31.9290)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C9C #9C9525
analogous
#25679C #252C9C #5A259C
triadic
#252C9C #9C252C #2C9C25
tetradic
#252C9C #9C2567 #9C9525 #259C5A
square
#252C9C #9C2567 #9C9525 #259C5A
split-complementary
#252C9C #9C5A25 #679C25
monochromatic
#0E1039 #191E6B #252C9C #313ACD #6269DA

Accessibility & contrast

On white

10.94
#252C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#252C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252C9C
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C9C#FFFFFF#000000##FFFFFF
##252C9C1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#00379A
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #252c9c;
/* rgb */ color: rgb(37, 44, 156);
/* oklch */ color: oklch(37.3% 0.177 271.4);
Tailwind
colors: {
  custom: {
    50: '#7466ba',
    500: '#252c9c',
    950: '#000000',
  },
}
SCSS
$custom: #252c9c;
$custom-light: #7466ba;
$custom-dark: #000000;
JSON
{
  "hex": "#252c9c",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 156
  },
  "hsl": {
    "h": 236.471,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37346,
    "c": 0.1773,
    "h": 271.4
  },
  "luminance": 0.04595
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #252C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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