#252559#252559

#252559 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.7% C 0.091 H 279.3°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#252559
RGBrgb(37, 37, 89)
HSLhsl(240, 41%, 25%)
HSVhsv(240, 58%, 35%)
CMYKcmyk(58.4%, 58.4%, 0%, 65.1%)
CIE-LABlab(17.63, 16.93, -31.49)
CIE-LCHlch(17.63, 35.75, 298.27°)
OKLaboklab(29.67% 0.0147 -0.0901)
OKLCHoklch(29.67% 0.091 279.3)
XYZxyz(3.2271, 2.4375, 9.7497)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252559 #595925
analogous
#253F59 #252559 #3F2559
triadic
#252559 #592525 #255925
tetradic
#252559 #59253F #595925 #25593F
square
#252559 #59253F #595925 #25593F
split-complementary
#252559 #593F25 #3F5925
monochromatic
#090916 #13132E #252559 #373784 #4949AF

Accessibility & contrast

On white

14.12
#252559 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#252559 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252559
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252559#FFFFFF#000000##FFFFFF
##2525591.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062D5B
Deuteranopia (green-blind)
#002958
Tritanopia (blue-blind)
#0D313B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #252559;
/* rgb */ color: rgb(37, 37, 89);
/* oklch */ color: oklch(29.7% 0.091 279.3);
Tailwind
colors: {
  custom: {
    50: '#655f88',
    500: '#252559',
    950: '#000000',
  },
}
SCSS
$custom: #252559;
$custom-light: #655f88;
$custom-dark: #000000;
JSON
{
  "hex": "#252559",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 89
  },
  "hsl": {
    "h": 240,
    "s": 41.27,
    "l": 24.706
  },
  "oklch": {
    "l": 0.2967,
    "c": 0.09126,
    "h": 279.3
  },
  "luminance": 0.02438
}

Semantic roles & 50–950 ramp

primary
#252559
secondary
#8C8C4D
accent
#D157D1
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040B
muted
#7A797C

Preview Lab

Preview with #252559

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

Preview Lab → · Contrast checker → · Palette generator →

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