#26318C#26318C

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

Color values

HEX#26318C
RGBrgb(38, 49, 140)
HSLhsl(234, 57%, 35%)
HSVhsv(234, 73%, 55%)
CMYKcmyk(72.9%, 65%, 0%, 45.1%)
CIE-LABlab(25.26, 27.96, -51.85)
CIE-LCHlch(25.26, 58.91, 298.33°)
OKLaboklab(36.69% 0.0038 -0.1498)
OKLCHoklch(36.69% 0.15 271.4)
XYZxyz(6.6297, 4.5015, 25.3253)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26318C #8C8126
analogous
#26648C #26318C #4E268C
triadic
#26318C #8C2631 #318C26
tetradic
#26318C #8C2664 #8C8126 #268C4E
square
#26318C #8C2664 #8C8126 #268C4E
split-complementary
#26318C #8C4E26 #648C26
monochromatic
#0C0F2C #19205C #26318C #3342BC #5A67D2

Accessibility & contrast

On white

11.05
#26318C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#26318C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26318C
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26318C#FFFFFF#000000##FFFFFF
##26318C1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #26318c;
/* rgb */ color: rgb(38, 49, 140);
/* oklch */ color: oklch(36.7% 0.150 271.4);
Tailwind
colors: {
  custom: {
    50: '#7069ae',
    500: '#26318c',
    950: '#000000',
  },
}
SCSS
$custom: #26318c;
$custom-light: #7069ae;
$custom-dark: #000000;
JSON
{
  "hex": "#26318c",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 140
  },
  "hsl": {
    "h": 233.529,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36689,
    "c": 0.14981,
    "h": 271.4
  },
  "luminance": 0.04502
}

Semantic roles & 50–950 ramp

primary
#26318C
secondary
#B7AD57
accent
#D047E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #26318C

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

Preview Lab → · Contrast checker → · Palette generator →

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