#26168C#26168C

#26168C is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.178 H 276.1°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#26168C
RGBrgb(38, 22, 140)
HSLhsl(248, 73%, 32%)
HSVhsv(248, 84%, 55%)
CMYKcmyk(72.9%, 84.3%, 0%, 45.1%)
CIE-LABlab(19.55, 43.82, -61.26)
CIE-LCHlch(19.55, 75.32, 305.57°)
OKLaboklab(32.61% 0.019 -0.1771)
OKLCHoklch(32.61% 0.178 276.1)
XYZxyz(5.8183, 2.8788, 25.0549)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26168C #7C8C16
analogous
#16418C #26168C #61168C
triadic
#26168C #8C2616 #168C26
tetradic
#26168C #8C1641 #7C8C16 #168C61
square
#26168C #8C1641 #7C8C16 #168C61
split-complementary
#26168C #8C6116 #418C16
monochromatic
#090522 #180E57 #26168C #341EC1 #523CE0

Accessibility & contrast

On white

13.33
#26168C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#26168C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26168C
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26168C#FFFFFF#000000##FFFFFF
##26168C1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348F
Deuteranopia (green-blind)
#002A8A
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #26168c;
/* rgb */ color: rgb(38, 22, 140);
/* oklch */ color: oklch(32.6% 0.178 276.1);
Tailwind
colors: {
  custom: {
    50: '#7258af',
    500: '#26168c',
    950: '#000000',
  },
}
SCSS
$custom: #26168c;
$custom-light: #7258af;
$custom-dark: #000000;
JSON
{
  "hex": "#26168c",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 140
  },
  "hsl": {
    "h": 248.136,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32611,
    "c": 0.17808,
    "h": 276.1
  },
  "luminance": 0.02879
}

Semantic roles & 50–950 ramp

primary
#26168C
secondary
#AEC03E
accent
#F038D7
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880

Preview Lab

Preview with #26168C

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

Preview Lab → · Contrast checker → · Palette generator →

#26168C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva