#26316F#26316F

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

Color values

HEX#26316F
RGBrgb(38, 49, 111)
HSLhsl(231, 49%, 29%)
HSVhsv(231, 66%, 44%)
CMYKcmyk(65.8%, 55.9%, 0%, 56.5%)
CIE-LABlab(22.85, 16.93, -37.47)
CIE-LCHlch(22.85, 41.12, 294.31°)
OKLaboklab(34.14% 0.0036 -0.1075)
OKLCHoklch(34.14% 0.108 271.9)
XYZxyz(4.7659, 3.7560, 15.5097)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26316F #6F6426
analogous
#26566F #26316F #40266F
triadic
#26316F #6F2631 #316F26
tetradic
#26316F #6F2656 #6F6426 #266F40
square
#26316F #6F2656 #6F6426 #266F40
split-complementary
#26316F #6F4026 #566F26
monochromatic
#080A17 #161D41 #26316F #36459D #4D5FC2

Accessibility & contrast

On white

11.99
#26316F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26316F
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26316F#FFFFFF#000000##FFFFFF
##26316F1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093A71
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #26316f;
/* rgb */ color: rgb(38, 49, 111);
/* oklch */ color: oklch(34.1% 0.108 271.9);
Tailwind
colors: {
  custom: {
    50: '#696899',
    500: '#26316f',
    950: '#000000',
  },
}
SCSS
$custom: #26316f;
$custom-light: #696899;
$custom-dark: #000000;
JSON
{
  "hex": "#26316f",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 111
  },
  "hsl": {
    "h": 230.959,
    "s": 48.993,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34135,
    "c": 0.10757,
    "h": 271.9
  },
  "luminance": 0.03756
}

Semantic roles & 50–950 ramp

primary
#26316F
secondary
#A2954F
accent
#C44FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #26316F

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

Preview Lab → · Contrast checker → · Palette generator →

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