#252C8B#252C8B

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

Color values

HEX#252C8B
RGBrgb(37, 44, 139)
HSLhsl(236, 58%, 35%)
HSVhsv(236, 73%, 55%)
CMYKcmyk(73.4%, 68.3%, 0%, 45.5%)
CIE-LABlab(23.86, 30.77, -53.53)
CIE-LCHlch(23.86, 61.74, 299.89°)
OKLaboklab(35.62% 0.0063 -0.1547)
OKLCHoklch(35.62% 0.155 272.3)
XYZxyz(6.3223, 4.0581, 24.8712)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C8B #8B8425
analogous
#255F8B #252C8B #51258B
triadic
#252C8B #8B252C #2C8B25
tetradic
#252C8B #8B255F #8B8425 #258B51
square
#252C8B #8B255F #8B8425 #258B51
split-complementary
#252C8B #8B5125 #5F8B25
monochromatic
#0B0D2A #181D5B #252C8B #323BBB #5860D3

Accessibility & contrast

On white

11.59
#252C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#252C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252C8B
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C8B#FFFFFF#000000##FFFFFF
##252C8B1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#003489
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #252c8b;
/* rgb */ color: rgb(37, 44, 139);
/* oklch */ color: oklch(35.6% 0.155 272.3);
Tailwind
colors: {
  custom: {
    50: '#6f65ae',
    500: '#252c8b',
    950: '#000000',
  },
}
SCSS
$custom: #252c8b;
$custom-light: #6f65ae;
$custom-dark: #000000;
JSON
{
  "hex": "#252c8b",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 235.882,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35619,
    "c": 0.15485,
    "h": 272.3
  },
  "luminance": 0.04059
}

Semantic roles & 50–950 ramp

primary
#252C8B
secondary
#B7B055
accent
#D747E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #252C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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