#26316C#26316C

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

Color values

HEX#26316C
RGBrgb(38, 49, 108)
HSLhsl(231, 48%, 29%)
HSVhsv(231, 65%, 42%)
CMYKcmyk(64.8%, 54.6%, 0%, 57.6%)
CIE-LABlab(22.62, 15.78, -35.90)
CIE-LCHlch(22.62, 39.22, 293.73°)
OKLaboklab(33.89% 0.0034 -0.1029)
OKLCHoklch(33.89% 0.103 271.9)
XYZxyz(4.6035, 3.6910, 14.6543)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26316C #6C6126
analogous
#26546C #26316C #3E266C
triadic
#26316C #6C2631 #316C26
tetradic
#26316C #6C2654 #6C6126 #266C3E
square
#26316C #6C2654 #6C6126 #266C3E
split-complementary
#26316C #6C3E26 #546C26
monochromatic
#080A17 #161C3F #26316C #364699 #4C5EC0

Accessibility & contrast

On white

12.08
#26316C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#26316C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26316C
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26316C#FFFFFF#000000##FFFFFF
##26316C1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E396E
Deuteranopia (green-blind)
#00336B
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #26316c;
/* rgb */ color: rgb(38, 49, 108);
/* oklch */ color: oklch(33.9% 0.103 271.9);
Tailwind
colors: {
  custom: {
    50: '#686896',
    500: '#26316c',
    950: '#000000',
  },
}
SCSS
$custom: #26316c;
$custom-light: #686896;
$custom-dark: #000000;
JSON
{
  "hex": "#26316c",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 108
  },
  "hsl": {
    "h": 230.571,
    "s": 47.945,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33894,
    "c": 0.10294,
    "h": 271.9
  },
  "luminance": 0.03691
}

Semantic roles & 50–950 ramp

primary
#26316C
secondary
#9F924F
accent
#C250D8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #26316C

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

Preview Lab → · Contrast checker → · Palette generator →

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