#26319C#26319C

#26319C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.171 H 270.9°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#26319C
RGBrgb(38, 49, 156)
HSLhsl(234, 61%, 38%)
HSVhsv(234, 76%, 61%)
CMYKcmyk(75.6%, 68.6%, 0%, 38.8%)
CIE-LABlab(26.76, 33.87, -59.25)
CIE-LCHlch(26.76, 68.24, 299.76°)
OKLaboklab(38.24% 0.0026 -0.1714)
OKLCHoklch(38.24% 0.171 270.9)
XYZxyz(7.8963, 5.0082, 31.9966)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26319C #9C9126
analogous
#266C9C #26319C #56269C
triadic
#26319C #9C2631 #319C26
tetradic
#26319C #9C266C #9C9126 #269C56
square
#26319C #9C266C #9C9126 #269C56
split-complementary
#26319C #9C5626 #6C9C26
monochromatic
#0E123A #1A226B #26319C #3241CD #636ED9

Accessibility & contrast

On white

10.49
#26319C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#26319C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26319C
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26319C#FFFFFF#000000##FFFFFF
##26319C1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #26319c;
/* rgb */ color: rgb(38, 49, 156);
/* oklch */ color: oklch(38.2% 0.171 270.9);
Tailwind
colors: {
  custom: {
    50: '#7469ba',
    500: '#26319c',
    950: '#000000',
  },
}
SCSS
$custom: #26319c;
$custom-light: #7469ba;
$custom-dark: #000000;
JSON
{
  "hex": "#26319c",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 156
  },
  "hsl": {
    "h": 234.407,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38237,
    "c": 0.17142,
    "h": 270.9
  },
  "luminance": 0.05009
}

Semantic roles & 50–950 ramp

primary
#26319C
secondary
#BFB65F
accent
#D544E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #26319C

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

Preview Lab → · Contrast checker → · Palette generator →

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