#26316A#26316A

#26316A is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.100 H 271.8°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#26316A
RGBrgb(38, 49, 106)
HSLhsl(230, 47%, 28%)
HSVhsv(230, 64%, 42%)
CMYKcmyk(64.2%, 53.8%, 0%, 58.4%)
CIE-LABlab(22.48, 15.02, -34.85)
CIE-LCHlch(22.48, 37.95, 293.31°)
OKLaboklab(33.74% 0.0032 -0.0998)
OKLCHoklch(33.74% 0.1 271.8)
XYZxyz(4.4983, 3.6489, 14.1001)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26316A #6A5F26
analogous
#26536A #26316A #3D266A
triadic
#26316A #6A2631 #316A26
tetradic
#26316A #6A2653 #6A5F26 #266A3D
square
#26316A #6A2653 #6A5F26 #266A3D
split-complementary
#26316A #6A3D26 #536A26
monochromatic
#080A17 #161C3D #26316A #364697 #4C5EBF

Accessibility & contrast

On white

12.14
#26316A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#26316A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26316A
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26316A#FFFFFF#000000##FFFFFF
##26316A1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11396C
Deuteranopia (green-blind)
#023369
Tritanopia (blue-blind)
#003E48
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #26316a;
/* rgb */ color: rgb(38, 49, 106);
/* oklch */ color: oklch(33.7% 0.100 271.8);
Tailwind
colors: {
  custom: {
    50: '#686895',
    500: '#26316a',
    950: '#000000',
  },
}
SCSS
$custom: #26316a;
$custom-light: #686895;
$custom-dark: #000000;
JSON
{
  "hex": "#26316a",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 106
  },
  "hsl": {
    "h": 230.294,
    "s": 47.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33736,
    "c": 0.09984,
    "h": 271.8
  },
  "luminance": 0.03649
}

Semantic roles & 50–950 ramp

primary
#26316A
secondary
#9D904F
accent
#C151D7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #26316A

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

Preview Lab → · Contrast checker → · Palette generator →

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