#25215D#25215D

#25215D is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.2% C 0.104 H 280.8°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#25215D
RGBrgb(37, 33, 93)
HSLhsl(244, 48%, 25%)
HSVhsv(244, 65%, 36%)
CMYKcmyk(60.2%, 64.5%, 0%, 63.5%)
CIE-LABlab(16.85, 21.22, -35.42)
CIE-LCHlch(16.85, 41.29, 300.93°)
OKLaboklab(29.19% 0.0195 -0.1017)
OKLCHoklch(29.19% 0.104 280.8)
XYZxyz(3.2820, 2.2711, 10.6192)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25215D #595D21
analogous
#213B5D #25215D #43215D
triadic
#25215D #5D2521 #215D25
tetradic
#25215D #5D213B #595D21 #215D43
square
#25215D #5D213B #595D21 #215D43
split-complementary
#25215D #5D4321 #3B5D21
monochromatic
#090817 #131130 #25215D #37318A #4941B7

Accessibility & contrast

On white

14.44
#25215D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25215D
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25215D#FFFFFF#000000##FFFFFF
##25215D1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5F
Deuteranopia (green-blind)
#00275C
Tritanopia (blue-blind)
#082F3B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #25215d;
/* rgb */ color: rgb(37, 33, 93);
/* oklch */ color: oklch(29.2% 0.104 280.8);
Tailwind
colors: {
  custom: {
    50: '#665c8b',
    500: '#25215d',
    950: '#000000',
  },
}
SCSS
$custom: #25215d;
$custom-light: #665c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#25215d",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 93
  },
  "hsl": {
    "h": 244,
    "s": 47.619,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29192,
    "c": 0.10352,
    "h": 280.8
  },
  "luminance": 0.02271
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25215D

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

Preview Lab → · Contrast checker → · Palette generator →

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