#26418A#26418A

#26418A is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.126 H 265.7°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#26418A
RGBrgb(38, 65, 138)
HSLhsl(224, 57%, 35%)
HSVhsv(224, 72%, 54%)
CMYKcmyk(72.5%, 52.9%, 0%, 45.9%)
CIE-LABlab(29.48, 16.26, -43.76)
CIE-LCHlch(29.48, 46.68, 290.39°)
OKLaboklab(39.79% -0.0096 -0.1258)
OKLCHoklch(39.79% 0.126 265.7)
XYZxyz(7.2755, 6.0269, 24.8197)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26418A #8A6F26
analogous
#26738A #26418A #3D268A
triadic
#26418A #8A2641 #418A26
tetradic
#26418A #8A2673 #8A6F26 #268A3D
square
#26418A #8A2673 #8A6F26 #268A3D
split-complementary
#26418A #8A3D26 #738A26
monochromatic
#0C142A #192A5A #26418A #3358BA #597AD1

Accessibility & contrast

On white

9.52
#26418A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#26418A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26418A
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26418A#FFFFFF#000000##FFFFFF
##26418A1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134A8D
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #26418a;
/* rgb */ color: rgb(38, 65, 138);
/* oklch */ color: oklch(39.8% 0.126 265.7);
Tailwind
colors: {
  custom: {
    50: '#6e75ad',
    500: '#26418a',
    950: '#000000',
  },
}
SCSS
$custom: #26418a;
$custom-light: #6e75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#26418a",
  "rgb": {
    "r": 38,
    "g": 65,
    "b": 138
  },
  "hsl": {
    "h": 223.8,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39789,
    "c": 0.12612,
    "h": 265.7
  },
  "luminance": 0.06028
}

Semantic roles & 50–950 ramp

primary
#26418A
secondary
#B69C56
accent
#B748E0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #26418A

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

Preview Lab → · Contrast checker → · Palette generator →

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