#26318E#26318E

#26318E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.153 H 271.4°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#26318E
RGBrgb(38, 49, 142)
HSLhsl(234, 58%, 35%)
HSVhsv(234, 73%, 56%)
CMYKcmyk(73.2%, 65.5%, 0%, 44.3%)
CIE-LABlab(25.45, 28.70, -52.80)
CIE-LCHlch(25.45, 60.09, 298.53°)
OKLaboklab(36.88% 0.0037 -0.1525)
OKLCHoklch(36.88% 0.153 271.4)
XYZxyz(6.7785, 4.5610, 26.1091)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26318E #8E8326
analogous
#26658E #26318E #4F268E
triadic
#26318E #8E2631 #318E26
tetradic
#26318E #8E2665 #8E8326 #268E4F
square
#26318E #8E2665 #8E8326 #268E4F
split-complementary
#26318E #8E4F26 #658E26
monochromatic
#0C102D #19205E #26318E #3342BE #5B68D3

Accessibility & contrast

On white

10.98
#26318E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26318E
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26318E#FFFFFF#000000##FFFFFF
##26318E1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #26318e;
/* rgb */ color: rgb(38, 49, 142);
/* oklch */ color: oklch(36.9% 0.153 271.4);
Tailwind
colors: {
  custom: {
    50: '#7069b0',
    500: '#26318e',
    950: '#000000',
  },
}
SCSS
$custom: #26318e;
$custom-light: #7069b0;
$custom-dark: #000000;
JSON
{
  "hex": "#26318e",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 233.654,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36877,
    "c": 0.15256,
    "h": 271.4
  },
  "luminance": 0.04562
}

Semantic roles & 50–950 ramp

primary
#26318E
secondary
#B8AE58
accent
#D147E1
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #26318E

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

Preview Lab → · Contrast checker → · Palette generator →

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