#26319A#26319A

#26319A is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.169 H 270.9°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#26319A
RGBrgb(38, 49, 154)
HSLhsl(234, 60%, 38%)
HSVhsv(234, 75%, 60%)
CMYKcmyk(75.3%, 68.2%, 0%, 39.6%)
CIE-LABlab(26.57, 33.14, -58.34)
CIE-LCHlch(26.57, 67.10, 299.60°)
OKLaboklab(38.04% 0.0028 -0.1687)
OKLCHoklch(38.04% 0.169 270.9)
XYZxyz(7.7284, 4.9410, 31.1120)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26319A #9A8F26
analogous
#266B9A #26319A #55269A
triadic
#26319A #9A2631 #319A26
tetradic
#26319A #9A266B #9A8F26 #269A55
square
#26319A #9A266B #9A8F26 #269A55
split-complementary
#26319A #9A5526 #6B9A26
monochromatic
#0E1238 #1A2169 #26319A #3241CB #626DD8

Accessibility & contrast

On white

10.56
#26319A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#26319A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26319A
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26319A#FFFFFF#000000##FFFFFF
##26319A1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#003998
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #26319a;
/* rgb */ color: rgb(38, 49, 154);
/* oklch */ color: oklch(38.0% 0.169 270.9);
Tailwind
colors: {
  custom: {
    50: '#7369b9',
    500: '#26319a',
    950: '#000000',
  },
}
SCSS
$custom: #26319a;
$custom-light: #7369b9;
$custom-dark: #000000;
JSON
{
  "hex": "#26319a",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 154
  },
  "hsl": {
    "h": 234.31,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38039,
    "c": 0.16877,
    "h": 270.9
  },
  "luminance": 0.04942
}

Semantic roles & 50–950 ramp

primary
#26319A
secondary
#BEB55E
accent
#D444E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #26319A

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

Preview Lab → · Contrast checker → · Palette generator →

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