#26179E#26179E

#26179E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.9% C 0.198 H 273.8°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#26179E
RGBrgb(38, 23, 158)
HSLhsl(247, 75%, 35%)
HSVhsv(247, 85%, 62%)
CMYKcmyk(75.9%, 85.4%, 0%, 38%)
CIE-LABlab(21.92, 48.85, -68.47)
CIE-LCHlch(21.92, 84.11, 305.51°)
OKLaboklab(34.88% 0.0133 -0.198)
OKLCHoklch(34.88% 0.198 273.8)
XYZxyz(7.2752, 3.4927, 32.6319)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26179E #8F9E17
analogous
#174B9E #26179E #6A179E
triadic
#26179E #9E2617 #179E26
tetradic
#26179E #9E174B #8F9E17 #179E6A
square
#26179E #9E174B #8F9E17 #179E6A
split-complementary
#26179E #9E6A17 #4B9E17
monochromatic
#0C0733 #190F69 #26179E #331FD3 #5C4BE5

Accessibility & contrast

On white

12.36
#26179E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#26179E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26179E
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26179E#FFFFFF#000000##FFFFFF
##26179E1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #26179e;
/* rgb */ color: rgb(38, 23, 158);
/* oklch */ color: oklch(34.9% 0.198 273.8);
Tailwind
colors: {
  custom: {
    50: '#765abc',
    500: '#26179e',
    950: '#000000',
  },
}
SCSS
$custom: #26179e;
$custom-light: #765abc;
$custom-dark: #000000;
JSON
{
  "hex": "#26179e",
  "rgb": {
    "r": 38,
    "g": 23,
    "b": 158
  },
  "hsl": {
    "h": 246.667,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34877,
    "c": 0.19841,
    "h": 273.8
  },
  "luminance": 0.03493
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26179E

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

Preview Lab → · Contrast checker → · Palette generator →

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