#252C8C#252C8C

#252C8C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.156 H 272.3°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#252C8C
RGBrgb(37, 44, 140)
HSLhsl(236, 58%, 35%)
HSVhsv(236, 74%, 55%)
CMYKcmyk(73.6%, 68.6%, 0%, 45.1%)
CIE-LABlab(23.96, 31.13, -53.99)
CIE-LCHlch(23.96, 62.33, 299.97°)
OKLaboklab(35.72% 0.0062 -0.1561)
OKLCHoklch(35.72% 0.156 272.3)
XYZxyz(6.3957, 4.0875, 25.2578)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C8C #8C8525
analogous
#25608C #252C8C #51258C
triadic
#252C8C #8C252C #2C8C25
tetradic
#252C8C #8C2560 #8C8525 #258C51
square
#252C8C #8C2560 #8C8525 #258C51
split-complementary
#252C8C #8C5125 #608C25
monochromatic
#0B0E2B #181D5C #252C8C #323BBC #5861D3

Accessibility & contrast

On white

11.55
#252C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252C8C
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C8C#FFFFFF#000000##FFFFFF
##252C8C1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252c8c;
/* rgb */ color: rgb(37, 44, 140);
/* oklch */ color: oklch(35.7% 0.156 272.3);
Tailwind
colors: {
  custom: {
    50: '#7065af',
    500: '#252c8c',
    950: '#000000',
  },
}
SCSS
$custom: #252c8c;
$custom-light: #7065af;
$custom-dark: #000000;
JSON
{
  "hex": "#252c8c",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 235.922,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35718,
    "c": 0.1562,
    "h": 272.3
  },
  "luminance": 0.04088
}

Semantic roles & 50–950 ramp

primary
#252C8C
secondary
#B8B155
accent
#D746E1
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #252C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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