#252499#252499

#252499 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.182 H 272.7°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#252499
RGBrgb(37, 36, 153)
HSLhsl(241, 62%, 37%)
HSVhsv(241, 76%, 60%)
CMYKcmyk(75.8%, 76.5%, 0%, 40%)
CIE-LABlab(23.52, 40.65, -62.75)
CIE-LCHlch(23.52, 74.76, 302.93°)
OKLaboklab(35.81% 0.0086 -0.1816)
OKLCHoklch(35.81% 0.182 272.7)
XYZxyz(7.1417, 3.9542, 30.5177)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252499 #989924
analogous
#245E99 #252499 #602499
triadic
#252499 #992524 #249925
tetradic
#252499 #99245E #989924 #249960
square
#252499 #99245E #989924 #249960
split-complementary
#252499 #996024 #5E9924
monochromatic
#0D0D36 #191867 #252499 #3130CB #5F5ED9

Accessibility & contrast

On white

11.73
#252499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#252499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252499
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252499#FFFFFF#000000##FFFFFF
##2524991.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003297
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #252499;
/* rgb */ color: rgb(37, 36, 153);
/* oklch */ color: oklch(35.8% 0.182 272.7);
Tailwind
colors: {
  custom: {
    50: '#7460b8',
    500: '#252499',
    950: '#000000',
  },
}
SCSS
$custom: #252499;
$custom-light: #7460b8;
$custom-dark: #000000;
JSON
{
  "hex": "#252499",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 240.513,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35806,
    "c": 0.18179,
    "h": 272.7
  },
  "luminance": 0.03955
}

Semantic roles & 50–950 ramp

primary
#252499
secondary
#BDBE5B
accent
#E543E4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #252499

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

Preview Lab → · Contrast checker → · Palette generator →

#252499 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva