#252160#252160

#252160 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.5% C 0.108 H 280.3°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#252160
RGBrgb(37, 33, 96)
HSLhsl(244, 49%, 25%)
HSVhsv(244, 66%, 38%)
CMYKcmyk(61.5%, 65.6%, 0%, 62.4%)
CIE-LABlab(17.11, 22.32, -36.99)
CIE-LCHlch(17.11, 43.20, 301.10°)
OKLaboklab(29.46% 0.0193 -0.1063)
OKLCHoklch(29.46% 0.108 280.3)
XYZxyz(3.4175, 2.3253, 11.3328)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252160 #5C6021
analogous
#213C60 #252160 #452160
triadic
#252160 #602521 #216025
tetradic
#252160 #60213C #5C6021 #216045
square
#252160 #60213C #5C6021 #216045
split-complementary
#252160 #604521 #3C6021
monochromatic
#090817 #131132 #252160 #37318E #4840BB

Accessibility & contrast

On white

14.33
#252160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#252160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252160
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252160#FFFFFF#000000##FFFFFF
##2521601.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C62
Deuteranopia (green-blind)
#00285F
Tritanopia (blue-blind)
#04303D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #252160;
/* rgb */ color: rgb(37, 33, 96);
/* oklch */ color: oklch(29.5% 0.108 280.3);
Tailwind
colors: {
  custom: {
    50: '#665c8e',
    500: '#252160',
    950: '#000000',
  },
}
SCSS
$custom: #252160;
$custom-light: #665c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#252160",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 243.81,
    "s": 48.837,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29464,
    "c": 0.10803,
    "h": 280.3
  },
  "luminance": 0.02326
}

Semantic roles & 50–950 ramp

primary
#252160
secondary
#8F9449
accent
#D84FD0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #252160

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

Preview Lab → · Contrast checker → · Palette generator →

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