#26318B#26318B

#26318B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.148 H 271.5°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#26318B
RGBrgb(38, 49, 139)
HSLhsl(233, 57%, 35%)
HSVhsv(233, 73%, 55%)
CMYKcmyk(72.7%, 64.7%, 0%, 45.5%)
CIE-LABlab(25.17, 27.58, -51.38)
CIE-LCHlch(25.17, 58.31, 298.23°)
OKLaboklab(36.6% 0.0038 -0.1484)
OKLCHoklch(36.6% 0.148 271.5)
XYZxyz(6.5563, 4.4721, 24.9388)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26318B #8B8026
analogous
#26648B #26318B #4D268B
triadic
#26318B #8B2631 #318B26
tetradic
#26318B #8B2664 #8B8026 #268B4D
square
#26318B #8B2664 #8B8026 #268B4D
split-complementary
#26318B #8B4D26 #648B26
monochromatic
#0C0F2B #19205B #26318B #3342BB #5A67D2

Accessibility & contrast

On white

11.08
#26318B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#26318B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26318B
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26318B#FFFFFF#000000##FFFFFF
##26318B1.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #26318b;
/* rgb */ color: rgb(38, 49, 139);
/* oklch */ color: oklch(36.6% 0.148 271.5);
Tailwind
colors: {
  custom: {
    50: '#6f69ae',
    500: '#26318b',
    950: '#000000',
  },
}
SCSS
$custom: #26318b;
$custom-light: #6f69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#26318b",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 139
  },
  "hsl": {
    "h": 233.465,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36595,
    "c": 0.14842,
    "h": 271.5
  },
  "luminance": 0.04473
}

Semantic roles & 50–950 ramp

primary
#26318B
secondary
#B7AC56
accent
#D047E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #26318B

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

Preview Lab → · Contrast checker → · Palette generator →

#26318B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva