#26168A#26168A

#26168A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.4% C 0.176 H 276.4°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#26168A
RGBrgb(38, 22, 138)
HSLhsl(248, 73%, 31%)
HSVhsv(248, 84%, 54%)
CMYKcmyk(72.5%, 84.1%, 0%, 45.9%)
CIE-LABlab(19.31, 43.20, -60.41)
CIE-LCHlch(19.31, 74.27, 305.57°)
OKLaboklab(32.37% 0.0196 -0.1746)
OKLCHoklch(32.37% 0.176 276.4)
XYZxyz(5.6722, 2.8203, 24.2853)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26168A #7A8A16
analogous
#16408A #26168A #60168A
triadic
#26168A #8A2616 #168A26
tetradic
#26168A #8A1640 #7A8A16 #168A60
square
#26168A #8A1640 #7A8A16 #168A60
split-complementary
#26168A #8A6016 #408A16
monochromatic
#090520 #170E55 #26168A #351EBF #513BE0

Accessibility & contrast

On white

13.43
#26168A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#26168A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26168A
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26168A#FFFFFF#000000##FFFFFF
##26168A1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348D
Deuteranopia (green-blind)
#002A88
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #26168a;
/* rgb */ color: rgb(38, 22, 138);
/* oklch */ color: oklch(32.4% 0.176 276.4);
Tailwind
colors: {
  custom: {
    50: '#7258ad',
    500: '#26168a',
    950: '#000000',
  },
}
SCSS
$custom: #26168a;
$custom-light: #7258ad;
$custom-dark: #000000;
JSON
{
  "hex": "#26168a",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 138
  },
  "hsl": {
    "h": 248.276,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32373,
    "c": 0.17569,
    "h": 276.4
  },
  "luminance": 0.02821
}

Semantic roles & 50–950 ramp

primary
#26168A
secondary
#ACBE3E
accent
#EF39D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #26168A

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

Preview Lab → · Contrast checker → · Palette generator →

#26168A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva