#26317B#26317B

#26317B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.126 H 271.9°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#26317B
RGBrgb(38, 49, 123)
HSLhsl(232, 53%, 32%)
HSVhsv(232, 69%, 48%)
CMYKcmyk(69.1%, 60.2%, 0%, 51.8%)
CIE-LABlab(23.80, 21.52, -43.59)
CIE-LCHlch(23.80, 48.61, 296.28°)
OKLaboklab(35.15% 0.0041 -0.1255)
OKLCHoklch(35.15% 0.126 271.9)
XYZxyz(5.4716, 4.0383, 19.2262)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26317B #7B7026
analogous
#265C7B #26317B #46267B
triadic
#26317B #7B2631 #317B26
tetradic
#26317B #7B265C #7B7026 #267B46
square
#26317B #7B265C #7B7026 #267B46
split-complementary
#26317B #7B4626 #5C7B26
monochromatic
#090C1D #181E4C #26317B #3444AA #5261CA

Accessibility & contrast

On white

11.62
#26317B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#26317B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26317B
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26317B#FFFFFF#000000##FFFFFF
##26317B1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #26317b;
/* rgb */ color: rgb(38, 49, 123);
/* oklch */ color: oklch(35.1% 0.126 271.9);
Tailwind
colors: {
  custom: {
    50: '#6c68a2',
    500: '#26317b',
    950: '#000000',
  },
}
SCSS
$custom: #26317b;
$custom-light: #6c68a2;
$custom-dark: #000000;
JSON
{
  "hex": "#26317b",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 123
  },
  "hsl": {
    "h": 232.235,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35147,
    "c": 0.12557,
    "h": 271.9
  },
  "luminance": 0.04039
}

Semantic roles & 50–950 ramp

primary
#26317B
secondary
#ADA150
accent
#C94CDC
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #26317B

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

Preview Lab → · Contrast checker → · Palette generator →

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