#26167A#26167A

#26167A is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.156 H 279.0°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#26167A
RGBrgb(38, 22, 122)
HSLhsl(250, 69%, 28%)
HSVhsv(250, 82%, 48%)
CMYKcmyk(68.9%, 82%, 0%, 52.2%)
CIE-LABlab(17.42, 38.15, -53.41)
CIE-LCHlch(17.42, 65.64, 305.54°)
OKLaboklab(30.51% 0.0245 -0.1542)
OKLCHoklch(30.51% 0.156 279)
XYZxyz(4.5980, 2.3906, 18.6277)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26167A #6A7A16
analogous
#16387A #26167A #58167A
triadic
#26167A #7A2616 #167A26
tetradic
#26167A #7A1638 #6A7A16 #167A58
square
#26167A #7A1638 #6A7A16 #167A58
split-complementary
#26167A #7A5816 #387A16
monochromatic
#08051A #160D46 #26167A #361FAE #4C31DA

Accessibility & contrast

On white

14.21
#26167A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#26167A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26167A
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26167A#FFFFFF#000000##FFFFFF
##26167A1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7D
Deuteranopia (green-blind)
#002778
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #26167a;
/* rgb */ color: rgb(38, 22, 122);
/* oklch */ color: oklch(30.5% 0.156 279.0);
Tailwind
colors: {
  custom: {
    50: '#6e56a2',
    500: '#26167a',
    950: '#000000',
  },
}
SCSS
$custom: #26167a;
$custom-light: #6e56a2;
$custom-dark: #000000;
JSON
{
  "hex": "#26167a",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 122
  },
  "hsl": {
    "h": 249.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30507,
    "c": 0.15618,
    "h": 279
  },
  "luminance": 0.02391
}

Semantic roles & 50–950 ramp

primary
#26167A
secondary
#9DAF3D
accent
#EC3CD0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #26167A

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

Preview Lab → · Contrast checker → · Palette generator →

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