#26317A#26317A

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

Color values

HEX#26317A
RGBrgb(38, 49, 122)
HSLhsl(232, 53%, 31%)
HSVhsv(232, 69%, 48%)
CMYKcmyk(68.9%, 59.8%, 0%, 52.2%)
CIE-LABlab(23.72, 21.14, -43.09)
CIE-LCHlch(23.72, 47.99, 296.13°)
OKLaboklab(35.06% 0.0041 -0.124)
OKLCHoklch(35.06% 0.124 271.9)
XYZxyz(5.4093, 4.0133, 18.8982)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26317A #7A6F26
analogous
#265B7A #26317A #45267A
triadic
#26317A #7A2631 #317A26
tetradic
#26317A #7A265B #7A6F26 #267A45
square
#26317A #7A265B #7A6F26 #267A45
split-complementary
#26317A #7A4526 #5B7A26
monochromatic
#090C1D #171E4B #26317A #3544A9 #5161C9

Accessibility & contrast

On white

11.65
#26317A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#26317A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26317A
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26317A#FFFFFF#000000##FFFFFF
##26317A1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #26317a;
/* rgb */ color: rgb(38, 49, 122);
/* oklch */ color: oklch(35.1% 0.124 271.9);
Tailwind
colors: {
  custom: {
    50: '#6b68a1',
    500: '#26317a',
    950: '#000000',
  },
}
SCSS
$custom: #26317a;
$custom-light: #6b68a1;
$custom-dark: #000000;
JSON
{
  "hex": "#26317a",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 122
  },
  "hsl": {
    "h": 232.143,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3506,
    "c": 0.12409,
    "h": 271.9
  },
  "luminance": 0.04014
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26317A

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

Preview Lab → · Contrast checker → · Palette generator →

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