#25215C#25215C

#25215C is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.1% C 0.102 H 281.0°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#25215C
RGBrgb(37, 33, 92)
HSLhsl(244, 47%, 25%)
HSVhsv(244, 64%, 36%)
CMYKcmyk(59.8%, 64.1%, 0%, 63.9%)
CIE-LABlab(16.77, 20.86, -34.89)
CIE-LCHlch(16.77, 40.65, 300.87°)
OKLaboklab(29.1% 0.0195 -0.1001)
OKLCHoklch(29.1% 0.102 281)
XYZxyz(3.2380, 2.2535, 10.3875)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25215C #585C21
analogous
#213B5C #25215C #43215C
triadic
#25215C #5C2521 #215C25
tetradic
#25215C #5C213B #585C21 #215C43
square
#25215C #5C213B #585C21 #215C43
split-complementary
#25215C #5C4321 #3B5C21
monochromatic
#090817 #13112F #25215C #373189 #4941B6

Accessibility & contrast

On white

14.47
#25215C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#25215C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25215C
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25215C#FFFFFF#000000##FFFFFF
##25215C1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5E
Deuteranopia (green-blind)
#00275B
Tritanopia (blue-blind)
#0A2F3B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #25215c;
/* rgb */ color: rgb(37, 33, 92);
/* oklch */ color: oklch(29.1% 0.102 281.0);
Tailwind
colors: {
  custom: {
    50: '#665c8b',
    500: '#25215c',
    950: '#000000',
  },
}
SCSS
$custom: #25215c;
$custom-light: #665c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#25215c",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 92
  },
  "hsl": {
    "h": 244.068,
    "s": 47.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29103,
    "c": 0.102,
    "h": 281
  },
  "luminance": 0.02254
}

Semantic roles & 50–950 ramp

primary
#25215C
secondary
#8B9049
accent
#D751CE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #25215C

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

Preview Lab → · Contrast checker → · Palette generator →

#25215C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva