#25198F#25198F

#25198F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.180 H 275.0°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#25198F
RGBrgb(37, 25, 143)
HSLhsl(246, 70%, 33%)
HSVhsv(246, 83%, 56%)
CMYKcmyk(74.1%, 82.5%, 0%, 43.9%)
CIE-LABlab(20.33, 43.24, -61.85)
CIE-LCHlch(20.33, 75.47, 304.96°)
OKLaboklab(33.23% 0.0156 -0.1788)
OKLCHoklch(33.23% 0.18 275)
XYZxyz(6.0669, 3.0711, 26.2543)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25198F #838F19
analogous
#19488F #25198F #60198F
triadic
#25198F #8F2519 #198F25
tetradic
#25198F #8F1948 #838F19 #198F60
square
#25198F #8F1948 #838F19 #198F60
split-complementary
#25198F #8F6019 #488F19
monochromatic
#0A0727 #18105B #25198F #3222C3 #5444DE

Accessibility & contrast

On white

13.01
#25198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#25198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25198F
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25198F#FFFFFF#000000##FFFFFF
##25198F1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002C8D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #25198f;
/* rgb */ color: rgb(37, 25, 143);
/* oklch */ color: oklch(33.2% 0.180 275.0);
Tailwind
colors: {
  custom: {
    50: '#725ab1',
    500: '#25198f',
    950: '#000000',
  },
}
SCSS
$custom: #25198f;
$custom-light: #725ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#25198f",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 246.102,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33232,
    "c": 0.17951,
    "h": 275
  },
  "luminance": 0.03072
}

Semantic roles & 50–950 ramp

primary
#25198F
secondary
#B3BF44
accent
#ED3BDB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #25198F

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

Preview Lab → · Contrast checker → · Palette generator →

#25198F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva