#26518F#26518F

#26518F is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.8% C 0.113 H 257.8°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#26518F
RGBrgb(38, 81, 143)
HSLhsl(215, 58%, 35%)
HSVhsv(215, 73%, 56%)
CMYKcmyk(73.4%, 43.4%, 0%, 43.9%)
CIE-LABlab(34.56, 7.40, -38.67)
CIE-LCHlch(34.56, 39.37, 280.83°)
OKLaboklab(43.79% -0.0238 -0.1105)
OKLCHoklch(43.79% 0.113 257.8)
XYZxyz(8.6979, 8.2792, 27.1209)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26518F #8F6426
analogous
#26858F #26518F #30268F
triadic
#26518F #8F2651 #518F26
tetradic
#26518F #8F2685 #8F6426 #268F30
square
#26518F #8F2685 #8F6426 #268F30
split-complementary
#26518F #8F3026 #858F26
monochromatic
#0C1A2E #19365F #26518F #336CBF #5C8DD4

Accessibility & contrast

On white

7.91
#26518F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#26518F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26518F
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26518F#FFFFFF#000000##FFFFFF
##26518F1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335691
Deuteranopia (green-blind)
#214D8E
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #26518f;
/* rgb */ color: rgb(38, 81, 143);
/* oklch */ color: oklch(43.8% 0.113 257.8);
Tailwind
colors: {
  custom: {
    50: '#6e81b0',
    500: '#26518f',
    950: '#000000',
  },
}
SCSS
$custom: #26518f;
$custom-light: #6e81b0;
$custom-dark: #000000;
JSON
{
  "hex": "#26518f",
  "rgb": {
    "r": 38,
    "g": 81,
    "b": 143
  },
  "hsl": {
    "h": 215.429,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43793,
    "c": 0.11305,
    "h": 257.8
  },
  "luminance": 0.0828
}

Semantic roles & 50–950 ramp

primary
#26518F
secondary
#B99158
accent
#A247E1
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #26518F

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

Preview Lab → · Contrast checker → · Palette generator →

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