#26318D#26318D

#26318D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.151 H 271.4°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#26318D
RGBrgb(38, 49, 141)
HSLhsl(234, 58%, 35%)
HSVhsv(234, 73%, 55%)
CMYKcmyk(73%, 65.2%, 0%, 44.7%)
CIE-LABlab(25.35, 28.33, -52.32)
CIE-LCHlch(25.35, 59.50, 298.43°)
OKLaboklab(36.78% 0.0037 -0.1511)
OKLCHoklch(36.78% 0.151 271.4)
XYZxyz(6.7037, 4.5311, 25.7154)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26318D #8D8226
analogous
#26658D #26318D #4E268D
triadic
#26318D #8D2631 #318D26
tetradic
#26318D #8D2665 #8D8226 #268D4E
square
#26318D #8D2665 #8D8226 #268D4E
split-complementary
#26318D #8D4E26 #658D26
monochromatic
#0C0F2D #19205D #26318D #3342BD #5B68D3

Accessibility & contrast

On white

11.02
#26318D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#26318D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26318D
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26318D#FFFFFF#000000##FFFFFF
##26318D1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #26318d;
/* rgb */ color: rgb(38, 49, 141);
/* oklch */ color: oklch(36.8% 0.151 271.4);
Tailwind
colors: {
  custom: {
    50: '#7069af',
    500: '#26318d',
    950: '#000000',
  },
}
SCSS
$custom: #26318d;
$custom-light: #7069af;
$custom-dark: #000000;
JSON
{
  "hex": "#26318d",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 141
  },
  "hsl": {
    "h": 233.592,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36783,
    "c": 0.15119,
    "h": 271.4
  },
  "luminance": 0.04532
}

Semantic roles & 50–950 ramp

primary
#26318D
secondary
#B8AD57
accent
#D047E1
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #26318D

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

Preview Lab → · Contrast checker → · Palette generator →

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