#26177E#26177E

#26177E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.1% C 0.160 H 278.2°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#26177E
RGBrgb(38, 23, 126)
HSLhsl(249, 69%, 29%)
HSVhsv(249, 82%, 49%)
CMYKcmyk(69.8%, 81.7%, 0%, 50.6%)
CIE-LABlab(18.06, 38.92, -54.91)
CIE-LCHlch(18.06, 67.30, 305.33°)
OKLaboklab(31.09% 0.0228 -0.1586)
OKLCHoklch(31.09% 0.16 278.2)
XYZxyz(4.8704, 2.5308, 19.9664)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26177E #6F7E17
analogous
#173C7E #26177E #5A177E
triadic
#26177E #7E2617 #177E26
tetradic
#26177E #7E173C #6F7E17 #177E5A
square
#26177E #7E173C #6F7E17 #177E5A
split-complementary
#26177E #7E5A17 #3C7E17
monochromatic
#08051A #160E4A #26177E #3620B2 #4D35DA

Accessibility & contrast

On white

13.94
#26177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26177E
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26177E#FFFFFF#000000##FFFFFF
##26177E1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #26177e;
/* rgb */ color: rgb(38, 23, 126);
/* oklch */ color: oklch(31.1% 0.160 278.2);
Tailwind
colors: {
  custom: {
    50: '#6f57a5',
    500: '#26177e',
    950: '#000000',
  },
}
SCSS
$custom: #26177e;
$custom-light: #6f57a5;
$custom-dark: #000000;
JSON
{
  "hex": "#26177e",
  "rgb": {
    "r": 38,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 248.738,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3109,
    "c": 0.16024,
    "h": 278.2
  },
  "luminance": 0.02531
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26177E

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

Preview Lab → · Contrast checker → · Palette generator →

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