#26177A#26177A

#26177A is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.155 H 278.9°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#26177A
RGBrgb(38, 23, 122)
HSLhsl(249, 68%, 28%)
HSVhsv(249, 81%, 48%)
CMYKcmyk(68.9%, 81.1%, 0%, 52.2%)
CIE-LABlab(17.60, 37.63, -53.11)
CIE-LCHlch(17.60, 65.09, 305.31°)
OKLaboklab(30.63% 0.0239 -0.1534)
OKLCHoklch(30.63% 0.155 278.9)
XYZxyz(4.6174, 2.4296, 18.6342)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26177A #6B7A17
analogous
#17397A #26177A #57177A
triadic
#26177A #7A2617 #177A26
tetradic
#26177A #7A1739 #6B7A17 #177A57
square
#26177A #7A1739 #6B7A17 #177A57
split-complementary
#26177A #7A5717 #397A17
monochromatic
#08051A #160D47 #26177A #3621AD #4C33D9

Accessibility & contrast

On white

14.13
#26177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#26177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26177A
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26177A#FFFFFF#000000##FFFFFF
##26177A1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #26177a;
/* rgb */ color: rgb(38, 23, 122);
/* oklch */ color: oklch(30.6% 0.155 278.9);
Tailwind
colors: {
  custom: {
    50: '#6e57a2',
    500: '#26177a',
    950: '#000000',
  },
}
SCSS
$custom: #26177a;
$custom-light: #6e57a2;
$custom-dark: #000000;
JSON
{
  "hex": "#26177a",
  "rgb": {
    "r": 38,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 249.091,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30633,
    "c": 0.15525,
    "h": 278.9
  },
  "luminance": 0.0243
}

Semantic roles & 50–950 ramp

primary
#26177A
secondary
#9EAF3E
accent
#EB3DD1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #26177A

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

Preview Lab → · Contrast checker → · Palette generator →

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