#26517F#26517F

#26517F is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.8% C 0.090 H 252.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#26517F
RGBrgb(38, 81, 127)
HSLhsl(211, 54%, 32%)
HSVhsv(211, 70%, 50%)
CMYKcmyk(70.1%, 36.2%, 0%, 50.2%)
CIE-LABlab(33.62, 1.24, -30.34)
CIE-LCHlch(33.62, 30.36, 272.34°)
OKLaboklab(42.76% -0.0279 -0.0861)
OKLCHoklch(42.76% 0.09 252.1)
XYZxyz(7.5711, 7.8285, 21.1866)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26517F #7F5426
analogous
#267E7F #26517F #28267F
triadic
#26517F #7F2651 #517F26
tetradic
#26517F #7F267E #7F5426 #267F28
square
#26517F #7F267E #7F5426 #267F28
split-complementary
#26517F #7F2826 #7E7F26
monochromatic
#0A1521 #183350 #26517F #346FAE #548ECC

Accessibility & contrast

On white

8.18
#26517F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#26517F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26517F
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26517F#FFFFFF#000000##FFFFFF
##26517F1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5481
Deuteranopia (green-blind)
#304B7E
Tritanopia (blue-blind)
#005C62
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #26517f;
/* rgb */ color: rgb(38, 81, 127);
/* oklch */ color: oklch(42.8% 0.090 252.1);
Tailwind
colors: {
  custom: {
    50: '#6b81a4',
    500: '#26517f',
    950: '#000000',
  },
}
SCSS
$custom: #26517f;
$custom-light: #6b81a4;
$custom-dark: #000000;
JSON
{
  "hex": "#26517f",
  "rgb": {
    "r": 38,
    "g": 81,
    "b": 127
  },
  "hsl": {
    "h": 211.011,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42761,
    "c": 0.09049,
    "h": 252.1
  },
  "luminance": 0.07829
}

Semantic roles & 50–950 ramp

primary
#26517F
secondary
#B08251
accent
#964ADD
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #26517F

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

Preview Lab → · Contrast checker → · Palette generator →

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