#25198E#25198E

#25198E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.1% C 0.178 H 275.1°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#25198E
RGBrgb(37, 25, 142)
HSLhsl(246, 70%, 33%)
HSVhsv(246, 82%, 56%)
CMYKcmyk(73.9%, 82.4%, 0%, 44.3%)
CIE-LABlab(20.21, 42.93, -61.43)
CIE-LCHlch(20.21, 74.94, 304.95°)
OKLaboklab(33.12% 0.0158 -0.1776)
OKLCHoklch(33.12% 0.178 275.1)
XYZxyz(5.9915, 3.0410, 25.8572)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25198E #828E19
analogous
#19478E #25198E #60198E
triadic
#25198E #8E2519 #198E25
tetradic
#25198E #8E1947 #828E19 #198E60
square
#25198E #8E1947 #828E19 #198E60
split-complementary
#25198E #8E6019 #478E19
monochromatic
#0A0726 #17105A #25198E #3322C2 #5343DE

Accessibility & contrast

On white

13.06
#25198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25198E
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25198E#FFFFFF#000000##FFFFFF
##25198E1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003691
Deuteranopia (green-blind)
#002B8C
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #25198e;
/* rgb */ color: rgb(37, 25, 142);
/* oklch */ color: oklch(33.1% 0.178 275.1);
Tailwind
colors: {
  custom: {
    50: '#7259b0',
    500: '#25198e',
    950: '#000000',
  },
}
SCSS
$custom: #25198e;
$custom-light: #7259b0;
$custom-dark: #000000;
JSON
{
  "hex": "#25198e",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 246.154,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33115,
    "c": 0.17831,
    "h": 275.1
  },
  "luminance": 0.03042
}

Semantic roles & 50–950 ramp

primary
#25198E
secondary
#B2BF44
accent
#ED3BDB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #25198E

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

Preview Lab → · Contrast checker → · Palette generator →

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