#252D85#252D85

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

Color values

HEX#252D85
RGBrgb(37, 45, 133)
HSLhsl(235, 56%, 33%)
HSVhsv(235, 72%, 52%)
CMYKcmyk(72.2%, 66.2%, 0%, 47.8%)
CIE-LABlab(23.55, 27.88, -50.30)
CIE-LCHlch(23.55, 57.51, 299.00°)
OKLaboklab(35.22% 0.006 -0.1452)
OKLCHoklch(35.22% 0.145 272.4)
XYZxyz(5.9335, 3.9630, 22.6380)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D85 #857D25
analogous
#255D85 #252D85 #4D2585
triadic
#252D85 #85252D #2D8525
tetradic
#252D85 #85255D #857D25 #25854D
square
#252D85 #85255D #857D25 #25854D
split-complementary
#252D85 #854D25 #5D8525
monochromatic
#0A0D25 #181D55 #252D85 #323DB5 #555FD0

Accessibility & contrast

On white

11.71
#252D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#252D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D85
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D85#FFFFFF#000000##FFFFFF
##252D851.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #252d85;
/* rgb */ color: rgb(37, 45, 133);
/* oklch */ color: oklch(35.2% 0.145 272.4);
Tailwind
colors: {
  custom: {
    50: '#6e66a9',
    500: '#252d85',
    950: '#000000',
  },
}
SCSS
$custom: #252d85;
$custom-light: #6e66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#252d85",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 235,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35217,
    "c": 0.14538,
    "h": 272.4
  },
  "luminance": 0.03964
}

Semantic roles & 50–950 ramp

primary
#252D85
secondary
#B4AC52
accent
#D348E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #252D85

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

Preview Lab → · Contrast checker → · Palette generator →

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