#26317F#26317F

#26317F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.131 H 271.8°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#26317F
RGBrgb(38, 49, 127)
HSLhsl(233, 54%, 32%)
HSVhsv(233, 70%, 50%)
CMYKcmyk(70.1%, 61.4%, 0%, 50.2%)
CIE-LABlab(24.13, 23.04, -45.57)
CIE-LCHlch(24.13, 51.07, 296.82°)
OKLaboklab(35.5% 0.0042 -0.1313)
OKLCHoklch(35.5% 0.131 271.8)
XYZxyz(5.7271, 4.1405, 20.5719)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26317F #7F7426
analogous
#265E7F #26317F #47267F
triadic
#26317F #7F2631 #317F26
tetradic
#26317F #7F265E #7F7426 #267F47
square
#26317F #7F265E #7F7426 #267F47
split-complementary
#26317F #7F4726 #5E7F26
monochromatic
#0A0D21 #181F50 #26317F #3443AE #5463CC

Accessibility & contrast

On white

11.49
#26317F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#26317F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26317F
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26317F#FFFFFF#000000##FFFFFF
##26317F1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#004453
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #26317f;
/* rgb */ color: rgb(38, 49, 127);
/* oklch */ color: oklch(35.5% 0.131 271.8);
Tailwind
colors: {
  custom: {
    50: '#6c69a5',
    500: '#26317f',
    950: '#000000',
  },
}
SCSS
$custom: #26317f;
$custom-light: #6c69a5;
$custom-dark: #000000;
JSON
{
  "hex": "#26317f",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 127
  },
  "hsl": {
    "h": 232.584,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35499,
    "c": 0.1314,
    "h": 271.8
  },
  "luminance": 0.04141
}

Semantic roles & 50–950 ramp

primary
#26317F
secondary
#B0A451
accent
#CB4ADD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #26317F

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

Preview Lab → · Contrast checker → · Palette generator →

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