#26167B#26167B

#26167B is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.157 H 278.8°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#26167B
RGBrgb(38, 22, 123)
HSLhsl(250, 70%, 28%)
HSVhsv(250, 82%, 48%)
CMYKcmyk(69.1%, 82.1%, 0%, 51.8%)
CIE-LABlab(17.53, 38.47, -53.86)
CIE-LCHlch(17.53, 66.19, 305.53°)
OKLaboklab(30.62% 0.0242 -0.1556)
OKLCHoklch(30.62% 0.157 278.8)
XYZxyz(4.6602, 2.4156, 18.9557)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26167B #6B7B16
analogous
#16387B #26167B #58167B
triadic
#26167B #7B2616 #167B26
tetradic
#26167B #7B1638 #6B7B16 #167B58
square
#26167B #7B1638 #6B7B16 #167B58
split-complementary
#26167B #7B5816 #387B16
monochromatic
#08051A #160D47 #26167B #361FAF #4C31DA

Accessibility & contrast

On white

14.16
#26167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26167B
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26167B#FFFFFF#000000##FFFFFF
##26167B1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7E
Deuteranopia (green-blind)
#002779
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #26167b;
/* rgb */ color: rgb(38, 22, 123);
/* oklch */ color: oklch(30.6% 0.157 278.8);
Tailwind
colors: {
  custom: {
    50: '#6e57a2',
    500: '#26167b',
    950: '#000000',
  },
}
SCSS
$custom: #26167b;
$custom-light: #6e57a2;
$custom-dark: #000000;
JSON
{
  "hex": "#26167b",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 249.505,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30622,
    "c": 0.15743,
    "h": 278.8
  },
  "luminance": 0.02416
}

Semantic roles & 50–950 ramp

primary
#26167B
secondary
#9EB03D
accent
#EC3BD0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #26167B

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

Preview Lab → · Contrast checker → · Palette generator →

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