#26316E#26316E

#26316E is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.1% C 0.106 H 271.9°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#26316E
RGBrgb(38, 49, 110)
HSLhsl(231, 49%, 29%)
HSVhsv(231, 65%, 43%)
CMYKcmyk(65.5%, 55.5%, 0%, 56.9%)
CIE-LABlab(22.77, 16.55, -36.95)
CIE-LCHlch(22.77, 40.49, 294.12°)
OKLaboklab(34.05% 0.0035 -0.106)
OKLCHoklch(34.05% 0.106 271.9)
XYZxyz(4.7112, 3.7341, 15.2213)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26316E #6E6326
analogous
#26556E #26316E #3F266E
triadic
#26316E #6E2631 #316E26
tetradic
#26316E #6E2655 #6E6326 #266E3F
square
#26316E #6E2655 #6E6326 #266E3F
split-complementary
#26316E #6E3F26 #556E26
monochromatic
#080A17 #161D41 #26316E #36459B #4D5FC1

Accessibility & contrast

On white

12.02
#26316E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#26316E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26316E
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26316E#FFFFFF#000000##FFFFFF
##26316E1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3A70
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #26316e;
/* rgb */ color: rgb(38, 49, 110);
/* oklch */ color: oklch(34.1% 0.106 271.9);
Tailwind
colors: {
  custom: {
    50: '#696898',
    500: '#26316e',
    950: '#000000',
  },
}
SCSS
$custom: #26316e;
$custom-light: #696898;
$custom-dark: #000000;
JSON
{
  "hex": "#26316e",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 110
  },
  "hsl": {
    "h": 230.833,
    "s": 48.649,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34054,
    "c": 0.10603,
    "h": 271.9
  },
  "luminance": 0.03734
}

Semantic roles & 50–950 ramp

primary
#26316E
secondary
#A1944F
accent
#C350D8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #26316E

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

Preview Lab → · Contrast checker → · Palette generator →

#26316E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva