#26417B#26417B

#26417B is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.7% C 0.104 H 263.5°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#26417B
RGBrgb(38, 65, 123)
HSLhsl(221, 53%, 32%)
HSVhsv(221, 69%, 48%)
CMYKcmyk(69.1%, 47.2%, 0%, 51.8%)
CIE-LABlab(28.44, 10.41, -36.10)
CIE-LCHlch(28.44, 37.57, 286.09°)
OKLaboklab(38.66% -0.0117 -0.1032)
OKLCHoklch(38.66% 0.104 263.5)
XYZxyz(6.2635, 5.6221, 19.4901)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26417B #7B6026
analogous
#266C7B #26417B #36267B
triadic
#26417B #7B2641 #417B26
tetradic
#26417B #7B266C #7B6026 #267B36
square
#26417B #7B266C #7B6026 #267B36
split-complementary
#26417B #7B3626 #6C7B26
monochromatic
#09101D #18284C #26417B #345AAA #5278CA

Accessibility & contrast

On white

9.88
#26417B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#26417B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26417B
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26417B#FFFFFF#000000##FFFFFF
##26417B1.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24477D
Deuteranopia (green-blind)
#153F7A
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #26417b;
/* rgb */ color: rgb(38, 65, 123);
/* oklch */ color: oklch(38.7% 0.104 263.5);
Tailwind
colors: {
  custom: {
    50: '#6b75a1',
    500: '#26417b',
    950: '#000000',
  },
}
SCSS
$custom: #26417b;
$custom-light: #6b75a1;
$custom-dark: #000000;
JSON
{
  "hex": "#26417b",
  "rgb": {
    "r": 38,
    "g": 65,
    "b": 123
  },
  "hsl": {
    "h": 220.941,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3866,
    "c": 0.10388,
    "h": 263.5
  },
  "luminance": 0.05623
}

Semantic roles & 50–950 ramp

primary
#26417B
secondary
#AD8F50
accent
#AE4CDC
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #26417B

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

Preview Lab → · Contrast checker → · Palette generator →

#26417B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva