#26317C#26317C

#26317C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.2% C 0.127 H 271.9°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#26317C
RGBrgb(38, 49, 124)
HSLhsl(232, 53%, 32%)
HSVhsv(232, 69%, 49%)
CMYKcmyk(69.4%, 60.5%, 0%, 51.4%)
CIE-LABlab(23.88, 21.90, -44.09)
CIE-LCHlch(23.88, 49.23, 296.42°)
OKLaboklab(35.23% 0.0041 -0.127)
OKLCHoklch(35.23% 0.127 271.9)
XYZxyz(5.5345, 4.0634, 19.5575)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26317C #7C7126
analogous
#265C7C #26317C #46267C
triadic
#26317C #7C2631 #317C26
tetradic
#26317C #7C265C #7C7126 #267C46
square
#26317C #7C265C #7C7126 #267C46
split-complementary
#26317C #7C4626 #5C7C26
monochromatic
#090C1E #181E4D #26317C #3444AB #5262CA

Accessibility & contrast

On white

11.58
#26317C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#26317C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26317C
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26317C#FFFFFF#000000##FFFFFF
##26317C1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #26317c;
/* rgb */ color: rgb(38, 49, 124);
/* oklch */ color: oklch(35.2% 0.127 271.9);
Tailwind
colors: {
  custom: {
    50: '#6c69a3',
    500: '#26317c',
    950: '#000000',
  },
}
SCSS
$custom: #26317c;
$custom-light: #6c69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#26317c",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 124
  },
  "hsl": {
    "h": 232.326,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35234,
    "c": 0.12703,
    "h": 271.9
  },
  "luminance": 0.04064
}

Semantic roles & 50–950 ramp

primary
#26317C
secondary
#AEA250
accent
#CA4BDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #26317C

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

Preview Lab → · Contrast checker → · Palette generator →

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