#26177D#26177D

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

Color values

HEX#26177D
RGBrgb(38, 23, 125)
HSLhsl(249, 69%, 29%)
HSVhsv(249, 82%, 49%)
CMYKcmyk(69.6%, 81.6%, 0%, 51%)
CIE-LABlab(17.94, 38.59, -54.46)
CIE-LCHlch(17.94, 66.75, 305.32°)
OKLaboklab(30.98% 0.0231 -0.1573)
OKLCHoklch(30.98% 0.159 278.3)
XYZxyz(4.8062, 2.5051, 19.6283)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26177D #6E7D17
analogous
#173B7D #26177D #59177D
triadic
#26177D #7D2617 #177D26
tetradic
#26177D #7D173B #6E7D17 #177D59
square
#26177D #7D173B #6E7D17 #177D59
split-complementary
#26177D #7D5917 #3B7D17
monochromatic
#08051A #160D49 #26177D #3621B1 #4D35DA

Accessibility & contrast

On white

13.99
#26177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#26177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26177D
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26177D#FFFFFF#000000##FFFFFF
##26177D1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #26177d;
/* rgb */ color: rgb(38, 23, 125);
/* oklch */ color: oklch(31.0% 0.159 278.3);
Tailwind
colors: {
  custom: {
    50: '#6e57a4',
    500: '#26177d',
    950: '#000000',
  },
}
SCSS
$custom: #26177d;
$custom-light: #6e57a4;
$custom-dark: #000000;
JSON
{
  "hex": "#26177d",
  "rgb": {
    "r": 38,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 248.824,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30975,
    "c": 0.15899,
    "h": 278.3
  },
  "luminance": 0.02506
}

Semantic roles & 50–950 ramp

primary
#26177D
secondary
#A1B23E
accent
#EC3CD2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #26177D

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

Preview Lab → · Contrast checker → · Palette generator →

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