#26177B#26177B

#26177B is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.157 H 278.7°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#26177B
RGBrgb(38, 23, 123)
HSLhsl(249, 68%, 29%)
HSVhsv(249, 81%, 48%)
CMYKcmyk(69.1%, 81.3%, 0%, 51.8%)
CIE-LABlab(17.71, 37.95, -53.56)
CIE-LCHlch(17.71, 65.65, 305.32°)
OKLaboklab(30.75% 0.0237 -0.1547)
OKLCHoklch(30.75% 0.157 278.7)
XYZxyz(4.6797, 2.4545, 18.9622)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26177B #6C7B17
analogous
#173A7B #26177B #58177B
triadic
#26177B #7B2617 #177B26
tetradic
#26177B #7B173A #6C7B17 #177B58
square
#26177B #7B173A #6C7B17 #177B58
split-complementary
#26177B #7B5817 #3A7B17
monochromatic
#08051A #160D47 #26177B #3621AF #4C33D9

Accessibility & contrast

On white

14.08
#26177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26177B
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26177B#FFFFFF#000000##FFFFFF
##26177B1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7E
Deuteranopia (green-blind)
#002779
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #26177b;
/* rgb */ color: rgb(38, 23, 123);
/* oklch */ color: oklch(30.7% 0.157 278.7);
Tailwind
colors: {
  custom: {
    50: '#6e57a2',
    500: '#26177b',
    950: '#000000',
  },
}
SCSS
$custom: #26177b;
$custom-light: #6e57a2;
$custom-dark: #000000;
JSON
{
  "hex": "#26177b",
  "rgb": {
    "r": 38,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 249,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30747,
    "c": 0.15651,
    "h": 278.7
  },
  "luminance": 0.02455
}

Semantic roles & 50–950 ramp

primary
#26177B
secondary
#9FB03E
accent
#EB3CD1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #26177B

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

Preview Lab → · Contrast checker → · Palette generator →

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