#26167C#26167C

#26167C is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.7% C 0.159 H 278.7°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#26167C
RGBrgb(38, 22, 124)
HSLhsl(249, 70%, 29%)
HSVhsv(249, 82%, 49%)
CMYKcmyk(69.4%, 82.3%, 0%, 51.4%)
CIE-LABlab(17.65, 38.79, -54.31)
CIE-LCHlch(17.65, 66.74, 305.54°)
OKLaboklab(30.74% 0.0239 -0.1569)
OKLCHoklch(30.74% 0.159 278.7)
XYZxyz(4.7232, 2.4407, 19.2871)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26167C #6C7C16
analogous
#16397C #26167C #59167C
triadic
#26167C #7C2616 #167C26
tetradic
#26167C #7C1639 #6C7C16 #167C59
square
#26167C #7C1639 #6C7C16 #167C59
split-complementary
#26167C #7C5916 #397C16
monochromatic
#08051A #160D48 #26167C #361FB0 #4C32DB

Accessibility & contrast

On white

14.11
#26167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#26167C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26167C
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26167C#FFFFFF#000000##FFFFFF
##26167C1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7F
Deuteranopia (green-blind)
#00277A
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #26167c;
/* rgb */ color: rgb(38, 22, 124);
/* oklch */ color: oklch(30.7% 0.159 278.7);
Tailwind
colors: {
  custom: {
    50: '#6e57a3',
    500: '#26167c',
    950: '#000000',
  },
}
SCSS
$custom: #26167c;
$custom-light: #6e57a3;
$custom-dark: #000000;
JSON
{
  "hex": "#26167c",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 249.412,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30737,
    "c": 0.15867,
    "h": 278.7
  },
  "luminance": 0.02441
}

Semantic roles & 50–950 ramp

primary
#26167C
secondary
#9FB13D
accent
#ED3BD1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #26167C

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

Preview Lab → · Contrast checker → · Palette generator →

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