#252585#252585

#252585 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.155 H 274.3°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#252585
RGBrgb(37, 37, 133)
HSLhsl(240, 56%, 33%)
HSVhsv(240, 72%, 52%)
CMYKcmyk(72.2%, 72.2%, 0%, 47.8%)
CIE-LABlab(21.61, 33.08, -53.47)
CIE-LCHlch(21.61, 62.88, 301.75°)
OKLaboklab(33.81% 0.0116 -0.1546)
OKLCHoklch(33.81% 0.155 274.3)
XYZxyz(5.6567, 3.4094, 22.5457)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252585 #858525
analogous
#255585 #252585 #552585
triadic
#252585 #852525 #258525
tetradic
#252585 #852555 #858525 #258555
square
#252585 #852555 #858525 #258555
split-complementary
#252585 #855525 #558525
monochromatic
#0A0A25 #181855 #252585 #3232B5 #5555D0

Accessibility & contrast

On white

12.49
#252585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#252585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252585
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252585#FFFFFF#000000##FFFFFF
##2525851.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#002F83
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #252585;
/* rgb */ color: rgb(37, 37, 133);
/* oklch */ color: oklch(33.8% 0.155 274.3);
Tailwind
colors: {
  custom: {
    50: '#6f60a9',
    500: '#252585',
    950: '#000000',
  },
}
SCSS
$custom: #252585;
$custom-light: #6f60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#252585",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 240,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33814,
    "c": 0.155,
    "h": 274.3
  },
  "luminance": 0.0341
}

Semantic roles & 50–950 ramp

primary
#252585
secondary
#B4B452
accent
#E048E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #252585

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

Preview Lab → · Contrast checker → · Palette generator →

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