#26316B#26316B

#26316B is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.8% C 0.101 H 271.8°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#26316B
RGBrgb(38, 49, 107)
HSLhsl(230, 48%, 28%)
HSVhsv(230, 64%, 42%)
CMYKcmyk(64.5%, 54.2%, 0%, 58%)
CIE-LABlab(22.55, 15.40, -35.38)
CIE-LCHlch(22.55, 38.58, 293.52°)
OKLaboklab(33.81% 0.0033 -0.1013)
OKLCHoklch(33.81% 0.101 271.8)
XYZxyz(4.5506, 3.6699, 14.3756)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26316B #6B6026
analogous
#26536B #26316B #3D266B
triadic
#26316B #6B2631 #316B26
tetradic
#26316B #6B2653 #6B6026 #266B3D
square
#26316B #6B2653 #6B6026 #266B3D
split-complementary
#26316B #6B3D26 #536B26
monochromatic
#080A17 #161C3E #26316B #364698 #4C5EBF

Accessibility & contrast

On white

12.11
#26316B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26316B
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26316B#FFFFFF#000000##FFFFFF
##26316B1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10396D
Deuteranopia (green-blind)
#00336A
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #26316b;
/* rgb */ color: rgb(38, 49, 107);
/* oklch */ color: oklch(33.8% 0.101 271.8);
Tailwind
colors: {
  custom: {
    50: '#686896',
    500: '#26316b',
    950: '#000000',
  },
}
SCSS
$custom: #26316b;
$custom-light: #686896;
$custom-dark: #000000;
JSON
{
  "hex": "#26316b",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 107
  },
  "hsl": {
    "h": 230.435,
    "s": 47.586,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33814,
    "c": 0.10139,
    "h": 271.8
  },
  "luminance": 0.0367
}

Semantic roles & 50–950 ramp

primary
#26316B
secondary
#9E914F
accent
#C251D7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #26316B

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

Preview Lab → · Contrast checker → · Palette generator →

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