#26168B#26168B

#26168B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.177 H 276.3°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#26168B
RGBrgb(38, 22, 139)
HSLhsl(248, 73%, 32%)
HSVhsv(248, 84%, 55%)
CMYKcmyk(72.7%, 84.2%, 0%, 45.5%)
CIE-LABlab(19.43, 43.51, -60.84)
CIE-LCHlch(19.43, 74.79, 305.57°)
OKLaboklab(32.49% 0.0193 -0.1758)
OKLCHoklch(32.49% 0.177 276.3)
XYZxyz(5.7449, 2.8494, 24.6683)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26168B #7B8B16
analogous
#16418B #26168B #61168B
triadic
#26168B #8B2616 #168B26
tetradic
#26168B #8B1641 #7B8B16 #168B61
square
#26168B #8B1641 #7B8B16 #168B61
split-complementary
#26168B #8B6116 #418B16
monochromatic
#090521 #180E56 #26168B #341EC0 #523BE0

Accessibility & contrast

On white

13.38
#26168B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#26168B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26168B
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26168B#FFFFFF#000000##FFFFFF
##26168B1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348E
Deuteranopia (green-blind)
#002A89
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #26168b;
/* rgb */ color: rgb(38, 22, 139);
/* oklch */ color: oklch(32.5% 0.177 276.3);
Tailwind
colors: {
  custom: {
    50: '#7258ae',
    500: '#26168b',
    950: '#000000',
  },
}
SCSS
$custom: #26168b;
$custom-light: #7258ae;
$custom-dark: #000000;
JSON
{
  "hex": "#26168b",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 139
  },
  "hsl": {
    "h": 248.205,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32492,
    "c": 0.17689,
    "h": 276.3
  },
  "luminance": 0.0285
}

Semantic roles & 50–950 ramp

primary
#26168B
secondary
#ADBF3E
accent
#EF38D6
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090310
muted
#7B787F

Preview Lab

Preview with #26168B

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

Preview Lab → · Contrast checker → · Palette generator →

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