#26318F#26318F

#26318F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.154 H 271.3°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#26318F
RGBrgb(38, 49, 143)
HSLhsl(234, 58%, 35%)
HSVhsv(234, 73%, 56%)
CMYKcmyk(73.4%, 65.7%, 0%, 43.9%)
CIE-LABlab(25.54, 29.08, -53.26)
CIE-LCHlch(25.54, 60.68, 298.63°)
OKLaboklab(36.97% 0.0036 -0.1539)
OKLCHoklch(36.97% 0.154 271.3)
XYZxyz(6.8539, 4.5912, 26.5063)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26318F #8F8426
analogous
#26658F #26318F #4F268F
triadic
#26318F #8F2631 #318F26
tetradic
#26318F #8F2665 #8F8426 #268F4F
square
#26318F #8F2665 #8F8426 #268F4F
split-complementary
#26318F #8F4F26 #658F26
monochromatic
#0C102E #19205F #26318F #3342BF #5C68D4

Accessibility & contrast

On white

10.95
#26318F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#26318F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26318F
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26318F#FFFFFF#000000##FFFFFF
##26318F1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #26318f;
/* rgb */ color: rgb(38, 49, 143);
/* oklch */ color: oklch(37.0% 0.154 271.3);
Tailwind
colors: {
  custom: {
    50: '#7069b1',
    500: '#26318f',
    950: '#000000',
  },
}
SCSS
$custom: #26318f;
$custom-light: #7069b1;
$custom-dark: #000000;
JSON
{
  "hex": "#26318f",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 143
  },
  "hsl": {
    "h": 233.714,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36972,
    "c": 0.15394,
    "h": 271.3
  },
  "luminance": 0.04592
}

Semantic roles & 50–950 ramp

primary
#26318F
secondary
#B9AE58
accent
#D147E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #26318F

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

Preview Lab → · Contrast checker → · Palette generator →

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