#26177F#26177F

#26177F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.161 H 278.0°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#26177F
RGBrgb(38, 23, 127)
HSLhsl(249, 69%, 29%)
HSVhsv(249, 82%, 50%)
CMYKcmyk(70.1%, 81.9%, 0%, 50.2%)
CIE-LABlab(18.17, 39.24, -55.35)
CIE-LCHlch(18.17, 67.85, 305.33°)
OKLaboklab(31.21% 0.0225 -0.1599)
OKLCHoklch(31.21% 0.161 278)
XYZxyz(4.9353, 2.5567, 20.3080)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26177F #707F17
analogous
#173C7F #26177F #5A177F
triadic
#26177F #7F2617 #177F26
tetradic
#26177F #7F173C #707F17 #177F5A
square
#26177F #7F173C #707F17 #177F5A
split-complementary
#26177F #7F5A17 #3C7F17
monochromatic
#08051A #160E4B #26177F #3620B3 #4E36DB

Accessibility & contrast

On white

13.89
#26177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#26177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26177F
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26177F#FFFFFF#000000##FFFFFF
##26177F1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #26177f;
/* rgb */ color: rgb(38, 23, 127);
/* oklch */ color: oklch(31.2% 0.161 278.0);
Tailwind
colors: {
  custom: {
    50: '#6f57a5',
    500: '#26177f',
    950: '#000000',
  },
}
SCSS
$custom: #26177f;
$custom-light: #6f57a5;
$custom-dark: #000000;
JSON
{
  "hex": "#26177f",
  "rgb": {
    "r": 38,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 248.654,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31205,
    "c": 0.16147,
    "h": 278
  },
  "luminance": 0.02557
}

Semantic roles & 50–950 ramp

primary
#26177F
secondary
#A3B43E
accent
#EC3CD3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #26177F

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

Preview Lab → · Contrast checker → · Palette generator →

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