#26197F#26197F

#26197F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.160 H 277.7°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#26197F
RGBrgb(38, 25, 127)
HSLhsl(248, 67%, 30%)
HSVhsv(248, 80%, 50%)
CMYKcmyk(70.1%, 80.3%, 0%, 50.2%)
CIE-LABlab(18.54, 38.19, -54.75)
CIE-LCHlch(18.54, 66.75, 304.90°)
OKLaboklab(31.46% 0.0214 -0.1582)
OKLCHoklch(31.46% 0.16 277.7)
XYZxyz(4.9765, 2.6392, 20.3217)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26197F #727F19
analogous
#193F7F #26197F #59197F
triadic
#26197F #7F2619 #197F26
tetradic
#26197F #7F193F #727F19 #197F59
square
#26197F #7F193F #727F19 #197F59
split-complementary
#26197F #7F5919 #3F7F19
monochromatic
#08051A #170F4C #26197F #3523B2 #4E3AD8

Accessibility & contrast

On white

13.74
#26197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#26197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26197F
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26197F#FFFFFF#000000##FFFFFF
##26197F1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#00297D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #26197f;
/* rgb */ color: rgb(38, 25, 127);
/* oklch */ color: oklch(31.5% 0.160 277.7);
Tailwind
colors: {
  custom: {
    50: '#6f58a5',
    500: '#26197f',
    950: '#000000',
  },
}
SCSS
$custom: #26197f;
$custom-light: #6f58a5;
$custom-dark: #000000;
JSON
{
  "hex": "#26197f",
  "rgb": {
    "r": 38,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 247.647,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31458,
    "c": 0.15963,
    "h": 277.7
  },
  "luminance": 0.0264
}

Semantic roles & 50–950 ramp

primary
#26197F
secondary
#A5B341
accent
#EA3ED4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #26197F

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

Preview Lab → · Contrast checker → · Palette generator →

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