#26317D#26317D

#26317D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.128 H 271.8°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#26317D
RGBrgb(38, 49, 125)
HSLhsl(232, 53%, 32%)
HSVhsv(232, 70%, 49%)
CMYKcmyk(69.6%, 60.8%, 0%, 51%)
CIE-LABlab(23.96, 22.28, -44.58)
CIE-LCHlch(23.96, 49.84, 296.56°)
OKLaboklab(35.32% 0.0041 -0.1284)
OKLCHoklch(35.32% 0.128 271.8)
XYZxyz(5.5981, 4.0888, 19.8923)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26317D #7D7226
analogous
#265D7D #26317D #47267D
triadic
#26317D #7D2631 #317D26
tetradic
#26317D #7D265D #7D7226 #267D47
square
#26317D #7D265D #7D7226 #267D47
split-complementary
#26317D #7D4726 #5D7D26
monochromatic
#090C1F #181F4E #26317D #3443AC #5362CB

Accessibility & contrast

On white

11.55
#26317D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#26317D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26317D
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26317D#FFFFFF#000000##FFFFFF
##26317D1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #26317d;
/* rgb */ color: rgb(38, 49, 125);
/* oklch */ color: oklch(35.3% 0.128 271.8);
Tailwind
colors: {
  custom: {
    50: '#6c69a3',
    500: '#26317d',
    950: '#000000',
  },
}
SCSS
$custom: #26317d;
$custom-light: #6c69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#26317d",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 232.414,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35322,
    "c": 0.12849,
    "h": 271.8
  },
  "luminance": 0.04089
}

Semantic roles & 50–950 ramp

primary
#26317D
secondary
#AFA350
accent
#CA4BDD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #26317D

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

Preview Lab → · Contrast checker → · Palette generator →

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