#26518E#26518E

#26518E is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.7% C 0.112 H 257.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#26518E
RGBrgb(38, 81, 142)
HSLhsl(215, 58%, 35%)
HSVhsv(215, 73%, 56%)
CMYKcmyk(73.2%, 43%, 0%, 44.3%)
CIE-LABlab(34.50, 7.01, -38.16)
CIE-LCHlch(34.50, 38.80, 280.41°)
OKLaboklab(43.73% -0.024 -0.109)
OKLCHoklch(43.73% 0.112 257.6)
XYZxyz(8.6225, 8.2490, 26.7237)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26518E #8E6326
analogous
#26858E #26518E #2F268E
triadic
#26518E #8E2651 #518E26
tetradic
#26518E #8E2685 #8E6326 #268E2F
square
#26518E #8E2685 #8E6326 #268E2F
split-complementary
#26518E #8E2F26 #858E26
monochromatic
#0C1A2D #19355E #26518E #336DBE #5B8DD3

Accessibility & contrast

On white

7.92
#26518E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#26518E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26518E
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26518E#FFFFFF#000000##FFFFFF
##26518E1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345690
Deuteranopia (green-blind)
#224D8D
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #26518e;
/* rgb */ color: rgb(38, 81, 142);
/* oklch */ color: oklch(43.7% 0.112 257.6);
Tailwind
colors: {
  custom: {
    50: '#6e81af',
    500: '#26518e',
    950: '#000000',
  },
}
SCSS
$custom: #26518e;
$custom-light: #6e81af;
$custom-dark: #000000;
JSON
{
  "hex": "#26518e",
  "rgb": {
    "r": 38,
    "g": 81,
    "b": 142
  },
  "hsl": {
    "h": 215.192,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43726,
    "c": 0.11163,
    "h": 257.6
  },
  "luminance": 0.0825
}

Semantic roles & 50–950 ramp

primary
#26518E
secondary
#B89058
accent
#A147E1
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #26518E

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

Preview Lab → · Contrast checker → · Palette generator →

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