#26318A#26318A

#26318A is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.147 H 271.5°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#26318A
RGBrgb(38, 49, 138)
HSLhsl(233, 57%, 35%)
HSVhsv(233, 72%, 54%)
CMYKcmyk(72.5%, 64.5%, 0%, 45.9%)
CIE-LABlab(25.09, 27.21, -50.90)
CIE-LCHlch(25.09, 57.72, 298.12°)
OKLaboklab(36.5% 0.0039 -0.147)
OKLCHoklch(36.5% 0.147 271.5)
XYZxyz(6.4835, 4.4430, 24.5557)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26318A #8A7F26
analogous
#26638A #26318A #4D268A
triadic
#26318A #8A2631 #318A26
tetradic
#26318A #8A2663 #8A7F26 #268A4D
square
#26318A #8A2663 #8A7F26 #268A4D
split-complementary
#26318A #8A4D26 #638A26
monochromatic
#0C0F2A #19205A #26318A #3342BA #5966D1

Accessibility & contrast

On white

11.12
#26318A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26318A
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26318A#FFFFFF#000000##FFFFFF
##26318A1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #26318a;
/* rgb */ color: rgb(38, 49, 138);
/* oklch */ color: oklch(36.5% 0.147 271.5);
Tailwind
colors: {
  custom: {
    50: '#6f69ad',
    500: '#26318a',
    950: '#000000',
  },
}
SCSS
$custom: #26318a;
$custom-light: #6f69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#26318a",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 138
  },
  "hsl": {
    "h": 233.4,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36501,
    "c": 0.14702,
    "h": 271.5
  },
  "luminance": 0.04444
}

Semantic roles & 50–950 ramp

primary
#26318A
secondary
#B6AB56
accent
#CF48E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #26318A

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

Preview Lab → · Contrast checker → · Palette generator →

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