#26168F#26168F

#26168F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.182 H 275.7°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#26168F
RGBrgb(38, 22, 143)
HSLhsl(248, 73%, 32%)
HSVhsv(248, 85%, 56%)
CMYKcmyk(73.4%, 84.6%, 0%, 43.9%)
CIE-LABlab(19.92, 44.74, -62.53)
CIE-LCHlch(19.92, 76.88, 305.58°)
OKLaboklab(32.97% 0.0181 -0.1807)
OKLCHoklch(32.97% 0.182 275.7)
XYZxyz(6.0425, 2.9685, 26.2358)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26168F #7F8F16
analogous
#16428F #26168F #63168F
triadic
#26168F #8F2616 #168F26
tetradic
#26168F #8F1642 #7F8F16 #168F63
square
#26168F #8F1642 #7F8F16 #168F63
split-complementary
#26168F #8F6316 #428F16
monochromatic
#0A0625 #180E5A #26168F #341EC4 #543EE1

Accessibility & contrast

On white

13.18
#26168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#26168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26168F
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26168F#FFFFFF#000000##FFFFFF
##26168F1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#002B8D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #26168f;
/* rgb */ color: rgb(38, 22, 143);
/* oklch */ color: oklch(33.0% 0.182 275.7);
Tailwind
colors: {
  custom: {
    50: '#7358b1',
    500: '#26168f',
    950: '#000000',
  },
}
SCSS
$custom: #26168f;
$custom-light: #7358b1;
$custom-dark: #000000;
JSON
{
  "hex": "#26168f",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 247.934,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32969,
    "c": 0.18163,
    "h": 275.7
  },
  "luminance": 0.02969
}

Semantic roles & 50–950 ramp

primary
#26168F
secondary
#B0C13F
accent
#F038D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #26168F

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

Preview Lab → · Contrast checker → · Palette generator →

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