#26197C#26197C

#26197C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.156 H 278.2°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#26197C
RGBrgb(38, 25, 124)
HSLhsl(248, 66%, 29%)
HSVhsv(248, 80%, 49%)
CMYKcmyk(69.4%, 79.8%, 0%, 51.4%)
CIE-LABlab(18.20, 37.20, -53.40)
CIE-LCHlch(18.20, 65.08, 304.87°)
OKLaboklab(31.12% 0.0222 -0.1542)
OKLCHoklch(31.12% 0.156 278.2)
XYZxyz(4.7839, 2.5622, 19.3073)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26197C #6F7C19
analogous
#193E7C #26197C #58197C
triadic
#26197C #7C2619 #197C26
tetradic
#26197C #7C193E #6F7C19 #197C58
square
#26197C #7C193E #6F7C19 #197C58
split-complementary
#26197C #7C5819 #3E7C19
monochromatic
#080519 #160F49 #26197C #3623AF #4D38D7

Accessibility & contrast

On white

13.88
#26197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#26197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26197C
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26197C#FFFFFF#000000##FFFFFF
##26197C1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#00287A
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #26197c;
/* rgb */ color: rgb(38, 25, 124);
/* oklch */ color: oklch(31.1% 0.156 278.2);
Tailwind
colors: {
  custom: {
    50: '#6e58a3',
    500: '#26197c',
    950: '#000000',
  },
}
SCSS
$custom: #26197c;
$custom-light: #6e58a3;
$custom-dark: #000000;
JSON
{
  "hex": "#26197c",
  "rgb": {
    "r": 38,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 247.879,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3112,
    "c": 0.15585,
    "h": 278.2
  },
  "luminance": 0.02563
}

Semantic roles & 50–950 ramp

primary
#26197C
secondary
#A2B040
accent
#E93ED3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #26197C

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

Preview Lab → · Contrast checker → · Palette generator →

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