#26179F#26179F

#26179F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 35.0% C 0.200 H 273.7°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#26179F
RGBrgb(38, 23, 159)
HSLhsl(247, 75%, 36%)
HSVhsv(247, 86%, 62%)
CMYKcmyk(76.1%, 85.5%, 0%, 37.6%)
CIE-LABlab(22.04, 49.16, -68.87)
CIE-LCHlch(22.04, 84.61, 305.52°)
OKLaboklab(35% 0.013 -0.1991)
OKLCHoklch(35% 0.2 273.7)
XYZxyz(7.3617, 3.5273, 33.0870)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26179F #909F17
analogous
#174C9F #26179F #6A179F
triadic
#26179F #9F2617 #179F26
tetradic
#26179F #9F174C #909F17 #179F6A
square
#26179F #9F174C #909F17 #179F6A
split-complementary
#26179F #9F6A17 #4C9F17
monochromatic
#0C0834 #190F6A #26179F #331FD4 #5C4BE5

Accessibility & contrast

On white

12.31
#26179F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#26179F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26179F
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26179F#FFFFFF#000000##FFFFFF
##26179F1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#002E9D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #26179f;
/* rgb */ color: rgb(38, 23, 159);
/* oklch */ color: oklch(35.0% 0.200 273.7);
Tailwind
colors: {
  custom: {
    50: '#775abd',
    500: '#26179f',
    950: '#000000',
  },
}
SCSS
$custom: #26179f;
$custom-light: #775abd;
$custom-dark: #000000;
JSON
{
  "hex": "#26179f",
  "rgb": {
    "r": 38,
    "g": 23,
    "b": 159
  },
  "hsl": {
    "h": 246.618,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34999,
    "c": 0.19956,
    "h": 273.7
  },
  "luminance": 0.03528
}

Semantic roles & 50–950 ramp

primary
#26179F
secondary
#B9C74B
accent
#F136DD
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #26179F

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

Preview Lab → · Contrast checker → · Palette generator →

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