#26179D#26179D

#26179D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.8% C 0.197 H 274.0°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#26179D
RGBrgb(38, 23, 157)
HSLhsl(247, 74%, 35%)
HSVhsv(247, 85%, 62%)
CMYKcmyk(75.8%, 85.4%, 0%, 38.4%)
CIE-LABlab(21.79, 48.55, -68.06)
CIE-LCHlch(21.79, 83.60, 305.50°)
OKLaboklab(34.76% 0.0136 -0.1968)
OKLCHoklch(34.76% 0.197 274)
XYZxyz(7.1895, 3.4584, 32.1804)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26179D #8E9D17
analogous
#174B9D #26179D #69179D
triadic
#26179D #9D2617 #179D26
tetradic
#26179D #9D174B #8E9D17 #179D69
square
#26179D #9D174B #8E9D17 #179D69
split-complementary
#26179D #9D6917 #4B9D17
monochromatic
#0C0732 #190F68 #26179D #331FD2 #5B4AE4

Accessibility & contrast

On white

12.41
#26179D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#26179D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26179D
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26179D#FFFFFF#000000##FFFFFF
##26179D1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA1
Deuteranopia (green-blind)
#002E9B
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #26179d;
/* rgb */ color: rgb(38, 23, 157);
/* oklch */ color: oklch(34.8% 0.197 274.0);
Tailwind
colors: {
  custom: {
    50: '#765abb',
    500: '#26179d',
    950: '#000000',
  },
}
SCSS
$custom: #26179d;
$custom-light: #765abb;
$custom-dark: #000000;
JSON
{
  "hex": "#26179d",
  "rgb": {
    "r": 38,
    "g": 23,
    "b": 157
  },
  "hsl": {
    "h": 246.716,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34756,
    "c": 0.19725,
    "h": 274
  },
  "luminance": 0.03459
}

Semantic roles & 50–950 ramp

primary
#26179D
secondary
#B8C64A
accent
#F137DC
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #26179D

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

Preview Lab → · Contrast checker → · Palette generator →

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