#26197D#26197D

#26197D is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.157 H 278.0°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#26197D
RGBrgb(38, 25, 125)
HSLhsl(248, 67%, 29%)
HSVhsv(248, 80%, 49%)
CMYKcmyk(69.6%, 80%, 0%, 51%)
CIE-LABlab(18.31, 37.53, -53.85)
CIE-LCHlch(18.31, 65.64, 304.88°)
OKLaboklab(31.23% 0.022 -0.1556)
OKLCHoklch(31.23% 0.157 278)
XYZxyz(4.8474, 2.5876, 19.6421)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26197D #707D19
analogous
#193E7D #26197D #58197D
triadic
#26197D #7D2619 #197D26
tetradic
#26197D #7D193E #707D19 #197D58
square
#26197D #7D193E #707D19 #197D58
split-complementary
#26197D #7D5819 #3E7D19
monochromatic
#08051A #160F4A #26197D #3623B0 #4E39D7

Accessibility & contrast

On white

13.84
#26197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#26197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26197D
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26197D#FFFFFF#000000##FFFFFF
##26197D1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003180
Deuteranopia (green-blind)
#00287B
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #26197d;
/* rgb */ color: rgb(38, 25, 125);
/* oklch */ color: oklch(31.2% 0.157 278.0);
Tailwind
colors: {
  custom: {
    50: '#6e58a4',
    500: '#26197d',
    950: '#000000',
  },
}
SCSS
$custom: #26197d;
$custom-light: #6e58a4;
$custom-dark: #000000;
JSON
{
  "hex": "#26197d",
  "rgb": {
    "r": 38,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 247.8,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31232,
    "c": 0.15711,
    "h": 278
  },
  "luminance": 0.02588
}

Semantic roles & 50–950 ramp

primary
#26197D
secondary
#A3B140
accent
#EA3ED3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #26197D

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

Preview Lab → · Contrast checker → · Palette generator →

#26197D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva