#252C82#252C82

#252C82 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.142 H 272.8°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#252C82
RGBrgb(37, 44, 130)
HSLhsl(235, 56%, 33%)
HSVhsv(235, 72%, 51%)
CMYKcmyk(71.5%, 66.2%, 0%, 49%)
CIE-LABlab(23.02, 27.43, -49.28)
CIE-LCHlch(23.02, 56.40, 299.10°)
OKLaboklab(34.74% 0.007 -0.1423)
OKLCHoklch(34.74% 0.142 272.8)
XYZxyz(5.6915, 3.8058, 21.5494)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C82 #827B25
analogous
#255A82 #252C82 #4C2582
triadic
#252C82 #82252C #2C8225
tetradic
#252C82 #82255A #827B25 #25824C
square
#252C82 #82255A #827B25 #25824C
split-complementary
#252C82 #824C25 #5A8225
monochromatic
#0A0C23 #171C52 #252C82 #333CB2 #535DCE

Accessibility & contrast

On white

11.92
#252C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#252C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252C82
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C82#FFFFFF#000000##FFFFFF
##252C821.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003380
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #252c82;
/* rgb */ color: rgb(37, 44, 130);
/* oklch */ color: oklch(34.7% 0.142 272.8);
Tailwind
colors: {
  custom: {
    50: '#6d65a7',
    500: '#252c82',
    950: '#000000',
  },
}
SCSS
$custom: #252c82;
$custom-light: #6d65a7;
$custom-dark: #000000;
JSON
{
  "hex": "#252c82",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 130
  },
  "hsl": {
    "h": 235.484,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34745,
    "c": 0.14245,
    "h": 272.8
  },
  "luminance": 0.03806
}

Semantic roles & 50–950 ramp

primary
#252C82
secondary
#B2AB50
accent
#D449DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #252C82

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

Preview Lab → · Contrast checker → · Palette generator →

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