#26418F#26418F

#26418F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.2% C 0.133 H 266.1°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#26418F
RGBrgb(38, 65, 143)
HSLhsl(225, 58%, 35%)
HSVhsv(225, 73%, 56%)
CMYKcmyk(73.4%, 54.5%, 0%, 43.9%)
CIE-LABlab(29.85, 18.21, -46.24)
CIE-LCHlch(29.85, 49.70, 291.50°)
OKLaboklab(40.19% -0.0091 -0.1331)
OKLCHoklch(40.19% 0.133 266.1)
XYZxyz(7.6458, 6.1750, 26.7702)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26418F #8F7426
analogous
#26768F #26418F #3F268F
triadic
#26418F #8F2641 #418F26
tetradic
#26418F #8F2676 #8F7426 #268F3F
square
#26418F #8F2676 #8F7426 #268F3F
split-complementary
#26418F #8F3F26 #768F26
monochromatic
#0C152E #192B5F #26418F #3357BF #5C7BD4

Accessibility & contrast

On white

9.40
#26418F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#26418F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26418F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26418F#FFFFFF#000000##FFFFFF
##26418F1.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084B92
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #26418f;
/* rgb */ color: rgb(38, 65, 143);
/* oklch */ color: oklch(40.2% 0.133 266.1);
Tailwind
colors: {
  custom: {
    50: '#6f75b0',
    500: '#26418f',
    950: '#000000',
  },
}
SCSS
$custom: #26418f;
$custom-light: #6f75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#26418f",
  "rgb": {
    "r": 38,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 224.571,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40187,
    "c": 0.13338,
    "h": 266.1
  },
  "luminance": 0.06176
}

Semantic roles & 50–950 ramp

primary
#26418F
secondary
#B9A058
accent
#B947E1
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #26418F

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

Preview Lab → · Contrast checker → · Palette generator →

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