#26167F#26167F

#26167F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.1% C 0.162 H 278.1°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#26167F
RGBrgb(38, 22, 127)
HSLhsl(249, 70%, 29%)
HSVhsv(249, 83%, 50%)
CMYKcmyk(70.1%, 82.7%, 0%, 50.2%)
CIE-LABlab(18.00, 39.74, -55.64)
CIE-LCHlch(18.00, 68.38, 305.54°)
OKLaboklab(31.08% 0.023 -0.1607)
OKLCHoklch(31.08% 0.162 278.1)
XYZxyz(4.9158, 2.5178, 20.3015)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26167F #6F7F16
analogous
#163B7F #26167F #5B167F
triadic
#26167F #7F2616 #167F26
tetradic
#26167F #7F163B #6F7F16 #167F5B
square
#26167F #7F163B #6F7F16 #167F5B
split-complementary
#26167F #7F5B16 #3B7F16
monochromatic
#08051A #160D4B #26167F #361FB3 #4D34DC

Accessibility & contrast

On white

13.97
#26167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26167F
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26167F#FFFFFF#000000##FFFFFF
##26167F1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00287D
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #26167f;
/* rgb */ color: rgb(38, 22, 127);
/* oklch */ color: oklch(31.1% 0.162 278.1);
Tailwind
colors: {
  custom: {
    50: '#6f57a5',
    500: '#26167f',
    950: '#000000',
  },
}
SCSS
$custom: #26167f;
$custom-light: #6f57a5;
$custom-dark: #000000;
JSON
{
  "hex": "#26167f",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 249.143,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31083,
    "c": 0.16236,
    "h": 278.1
  },
  "luminance": 0.02518
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26167F

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

Preview Lab → · Contrast checker → · Palette generator →

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