#25219E#25219E

#25219E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.191 H 272.6°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#25219E
RGBrgb(37, 33, 158)
HSLhsl(242, 65%, 37%)
HSVhsv(242, 79%, 62%)
CMYKcmyk(76.6%, 79.1%, 0%, 38%)
CIE-LABlab(23.50, 43.97, -65.84)
CIE-LCHlch(23.50, 79.17, 303.73°)
OKLaboklab(35.96% 0.0088 -0.1905)
OKLCHoklch(35.96% 0.191 272.6)
XYZxyz(7.4763, 3.9489, 32.7093)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25219E #9A9E21
analogous
#215C9E #25219E #64219E
triadic
#25219E #9E2521 #219E25
tetradic
#25219E #9E215C #9A9E21 #219E64
square
#25219E #9E215C #9A9E21 #219E64
split-complementary
#25219E #9E6421 #5C9E21
monochromatic
#0D0C39 #19166B #25219E #312CD1 #605CDD

Accessibility & contrast

On white

11.73
#25219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#25219E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25219E
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25219E#FFFFFF#000000##FFFFFF
##25219E1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #25219e;
/* rgb */ color: rgb(37, 33, 158);
/* oklch */ color: oklch(36.0% 0.191 272.6);
Tailwind
colors: {
  custom: {
    50: '#755fbc',
    500: '#25219e',
    950: '#000000',
  },
}
SCSS
$custom: #25219e;
$custom-light: #755fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#25219e",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 241.92,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.35959,
    "c": 0.19074,
    "h": 272.6
  },
  "luminance": 0.0395
}

Semantic roles & 50–950 ramp

primary
#25219E
secondary
#BEC159
accent
#E83FE3
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #25219E

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

Preview Lab → · Contrast checker → · Palette generator →

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