#26418C#26418C

#26418C is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.9% C 0.129 H 265.8°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#26418C
RGBrgb(38, 65, 140)
HSLhsl(224, 57%, 35%)
HSVhsv(224, 73%, 55%)
CMYKcmyk(72.9%, 53.6%, 0%, 45.1%)
CIE-LABlab(29.63, 17.04, -44.76)
CIE-LCHlch(29.63, 47.89, 290.85°)
OKLaboklab(39.95% -0.0093 -0.1287)
OKLCHoklch(39.95% 0.129 265.8)
XYZxyz(7.4216, 6.0853, 25.5893)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26418C #8C7126
analogous
#26748C #26418C #3E268C
triadic
#26418C #8C2641 #418C26
tetradic
#26418C #8C2674 #8C7126 #268C3E
square
#26418C #8C2674 #8C7126 #268C3E
split-complementary
#26418C #8C3E26 #748C26
monochromatic
#0C142C #192B5C #26418C #3357BC #5A7AD2

Accessibility & contrast

On white

9.47
#26418C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#26418C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26418C
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26418C#FFFFFF#000000##FFFFFF
##26418C1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4B8F
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #26418c;
/* rgb */ color: rgb(38, 65, 140);
/* oklch */ color: oklch(39.9% 0.129 265.8);
Tailwind
colors: {
  custom: {
    50: '#6e75ae',
    500: '#26418c',
    950: '#000000',
  },
}
SCSS
$custom: #26418c;
$custom-light: #6e75ae;
$custom-dark: #000000;
JSON
{
  "hex": "#26418c",
  "rgb": {
    "r": 38,
    "g": 65,
    "b": 140
  },
  "hsl": {
    "h": 224.118,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39947,
    "c": 0.12904,
    "h": 265.8
  },
  "luminance": 0.06086
}

Semantic roles & 50–950 ramp

primary
#26418C
secondary
#B79E57
accent
#B847E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #26418C

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

Preview Lab → · Contrast checker → · Palette generator →

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