#252C8A#252C8A

#252C8A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.153 H 272.4°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#252C8A
RGBrgb(37, 44, 138)
HSLhsl(236, 58%, 34%)
HSVhsv(236, 73%, 54%)
CMYKcmyk(73.2%, 68.1%, 0%, 45.9%)
CIE-LABlab(23.77, 30.40, -53.06)
CIE-LCHlch(23.77, 61.15, 299.81°)
OKLaboklab(35.52% 0.0063 -0.1534)
OKLCHoklch(35.52% 0.153 272.4)
XYZxyz(6.2495, 4.0290, 24.4882)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C8A #8A8325
analogous
#255F8A #252C8A #51258A
triadic
#252C8A #8A252C #2C8A25
tetradic
#252C8A #8A255F #8A8325 #258A51
square
#252C8A #8A255F #8A8325 #258A51
split-complementary
#252C8A #8A5125 #5F8A25
monochromatic
#0B0D29 #181D5A #252C8A #323BBA #5760D2

Accessibility & contrast

On white

11.63
#252C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252C8A
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C8A#FFFFFF#000000##FFFFFF
##252C8A1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252c8a;
/* rgb */ color: rgb(37, 44, 138);
/* oklch */ color: oklch(35.5% 0.153 272.4);
Tailwind
colors: {
  custom: {
    50: '#6f65ad',
    500: '#252c8a',
    950: '#000000',
  },
}
SCSS
$custom: #252c8a;
$custom-light: #6f65ad;
$custom-dark: #000000;
JSON
{
  "hex": "#252c8a",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 235.842,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35521,
    "c": 0.15349,
    "h": 272.4
  },
  "luminance": 0.0403
}

Semantic roles & 50–950 ramp

primary
#252C8A
secondary
#B7B054
accent
#D647E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #252C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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