#26167E#26167E

#26167E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.161 H 278.3°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#26167E
RGBrgb(38, 22, 126)
HSLhsl(249, 70%, 29%)
HSVhsv(249, 83%, 49%)
CMYKcmyk(69.8%, 82.5%, 0%, 50.6%)
CIE-LABlab(17.88, 39.43, -55.20)
CIE-LCHlch(17.88, 67.83, 305.54°)
OKLaboklab(30.97% 0.0233 -0.1594)
OKLCHoklch(30.97% 0.161 278.3)
XYZxyz(4.8509, 2.4918, 19.9600)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26167E #6E7E16
analogous
#163A7E #26167E #5A167E
triadic
#26167E #7E2616 #167E26
tetradic
#26167E #7E163A #6E7E16 #167E5A
square
#26167E #7E163A #6E7E16 #167E5A
split-complementary
#26167E #7E5A16 #3A7E16
monochromatic
#08051A #160D4A #26167E #361FB2 #4D33DB

Accessibility & contrast

On white

14.01
#26167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#26167E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26167E
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26167E#FFFFFF#000000##FFFFFF
##26167E1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00277C
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #26167e;
/* rgb */ color: rgb(38, 22, 126);
/* oklch */ color: oklch(31.0% 0.161 278.3);
Tailwind
colors: {
  custom: {
    50: '#6f57a5',
    500: '#26167e',
    950: '#000000',
  },
}
SCSS
$custom: #26167e;
$custom-light: #6f57a5;
$custom-dark: #000000;
JSON
{
  "hex": "#26167e",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 249.231,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30968,
    "c": 0.16113,
    "h": 278.3
  },
  "luminance": 0.02492
}

Semantic roles & 50–950 ramp

primary
#26167E
secondary
#A1B33D
accent
#ED3BD2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #26167E

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

Preview Lab → · Contrast checker → · Palette generator →

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