#25215E#25215E

#25215E is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.3% C 0.105 H 280.7°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#25215E
RGBrgb(37, 33, 94)
HSLhsl(244, 48%, 25%)
HSVhsv(244, 65%, 37%)
CMYKcmyk(60.6%, 64.9%, 0%, 63.1%)
CIE-LABlab(16.94, 21.59, -35.95)
CIE-LCHlch(16.94, 41.93, 300.98°)
OKLaboklab(29.28% 0.0194 -0.1032)
OKLCHoklch(29.28% 0.105 280.7)
XYZxyz(3.3266, 2.2890, 10.8540)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25215E #5A5E21
analogous
#213C5E #25215E #43215E
triadic
#25215E #5E2521 #215E25
tetradic
#25215E #5E213C #5A5E21 #215E43
square
#25215E #5E213C #5A5E21 #215E43
split-complementary
#25215E #5E4321 #3C5E21
monochromatic
#090817 #131131 #25215E #37318B #4941B9

Accessibility & contrast

On white

14.41
#25215E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#25215E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25215E
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25215E#FFFFFF#000000##FFFFFF
##25215E1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C60
Deuteranopia (green-blind)
#00275D
Tritanopia (blue-blind)
#07303C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #25215e;
/* rgb */ color: rgb(37, 33, 94);
/* oklch */ color: oklch(29.3% 0.105 280.7);
Tailwind
colors: {
  custom: {
    50: '#665c8c',
    500: '#25215e',
    950: '#000000',
  },
}
SCSS
$custom: #25215e;
$custom-light: #665c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#25215e",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 94
  },
  "hsl": {
    "h": 243.934,
    "s": 48.031,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29282,
    "c": 0.10503,
    "h": 280.7
  },
  "luminance": 0.02289
}

Semantic roles & 50–950 ramp

primary
#25215E
secondary
#8D9249
accent
#D850CF
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #25215E

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

Preview Lab → · Contrast checker → · Palette generator →

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