#25196F#25196F

#25196F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.139 H 280.0°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#25196F
RGBrgb(37, 25, 111)
HSLhsl(248, 63%, 27%)
HSVhsv(248, 77%, 44%)
CMYKcmyk(66.7%, 77.5%, 0%, 56.5%)
CIE-LABlab(16.68, 32.75, -47.54)
CIE-LCHlch(16.68, 57.73, 304.56°)
OKLaboklab(29.6% 0.0241 -0.1372)
OKLCHoklch(29.6% 0.139 280)
XYZxyz(3.9789, 2.2360, 15.2578)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25196F #636F19
analogous
#19386F #25196F #50196F
triadic
#25196F #6F2519 #196F25
tetradic
#25196F #6F1938 #636F19 #196F50
square
#25196F #6F1938 #636F19 #196F50
split-complementary
#25196F #6F5019 #386F19
monochromatic
#080619 #140E3D #25196F #3624A1 #4832D1

Accessibility & contrast

On white

14.51
#25196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#25196F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25196F
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25196F#FFFFFF#000000##FFFFFF
##25196F1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C71
Deuteranopia (green-blind)
#00266D
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #25196f;
/* rgb */ color: rgb(37, 25, 111);
/* oklch */ color: oklch(29.6% 0.139 280.0);
Tailwind
colors: {
  custom: {
    50: '#6b5799',
    500: '#25196f',
    950: '#000000',
  },
}
SCSS
$custom: #25196f;
$custom-light: #6b5799;
$custom-dark: #000000;
JSON
{
  "hex": "#25196f",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 248.372,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29602,
    "c": 0.13929,
    "h": 280
  },
  "luminance": 0.02236
}

Semantic roles & 50–950 ramp

primary
#25196F
secondary
#96A43F
accent
#E642CF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #25196F

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

Preview Lab → · Contrast checker → · Palette generator →

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