#25196B#25196B

#25196B is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.134 H 280.8°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#25196B
RGBrgb(37, 25, 107)
HSLhsl(249, 62%, 26%)
HSVhsv(249, 77%, 42%)
CMYKcmyk(65.4%, 76.6%, 0%, 58%)
CIE-LABlab(16.25, 31.39, -45.63)
CIE-LCHlch(16.25, 55.39, 304.53°)
OKLaboklab(29.17% 0.0251 -0.1316)
OKLCHoklch(29.17% 0.134 280.8)
XYZxyz(3.7636, 2.1498, 14.1237)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25196B #5F6B19
analogous
#19366B #25196B #4E196B
triadic
#25196B #6B2519 #196B25
tetradic
#25196B #6B1936 #5F6B19 #196B4E
square
#25196B #6B1936 #5F6B19 #196B4E
split-complementary
#25196B #6B4E19 #366B19
monochromatic
#090619 #140D39 #25196B #36259D #4730CE

Accessibility & contrast

On white

14.69
#25196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#25196B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25196B
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25196B#FFFFFF#000000##FFFFFF
##25196B1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6D
Deuteranopia (green-blind)
#002569
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #25196b;
/* rgb */ color: rgb(37, 25, 107);
/* oklch */ color: oklch(29.2% 0.134 280.8);
Tailwind
colors: {
  custom: {
    50: '#6a5796',
    500: '#25196b',
    950: '#000000',
  },
}
SCSS
$custom: #25196b;
$custom-light: #6a5796;
$custom-dark: #000000;
JSON
{
  "hex": "#25196b",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 248.78,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29173,
    "c": 0.13397,
    "h": 280.8
  },
  "luminance": 0.0215
}

Semantic roles & 50–950 ramp

primary
#25196B
secondary
#92A13F
accent
#E543CD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #25196B

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

Preview Lab → · Contrast checker → · Palette generator →

#25196B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva