#26417D#26417D

#26417D is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.8% C 0.107 H 263.9°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#26417D
RGBrgb(38, 65, 125)
HSLhsl(221, 53%, 32%)
HSVhsv(221, 70%, 49%)
CMYKcmyk(69.6%, 48%, 0%, 51%)
CIE-LABlab(28.57, 11.19, -37.14)
CIE-LCHlch(28.57, 38.79, 286.77°)
OKLaboklab(38.81% -0.0114 -0.1063)
OKLCHoklch(38.81% 0.107 263.9)
XYZxyz(6.3900, 5.6727, 20.1562)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26417D #7D6226
analogous
#266D7D #26417D #37267D
triadic
#26417D #7D2641 #417D26
tetradic
#26417D #7D266D #7D6226 #267D37
square
#26417D #7D266D #7D6226 #267D37
split-complementary
#26417D #7D3726 #6D7D26
monochromatic
#09101F #18294E #26417D #3459AC #5378CB

Accessibility & contrast

On white

9.84
#26417D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#26417D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26417D
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26417D#FFFFFF#000000##FFFFFF
##26417D1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23487F
Deuteranopia (green-blind)
#12407C
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #26417d;
/* rgb */ color: rgb(38, 65, 125);
/* oklch */ color: oklch(38.8% 0.107 263.9);
Tailwind
colors: {
  custom: {
    50: '#6b75a3',
    500: '#26417d',
    950: '#000000',
  },
}
SCSS
$custom: #26417d;
$custom-light: #6b75a3;
$custom-dark: #000000;
JSON
{
  "hex": "#26417d",
  "rgb": {
    "r": 38,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 221.379,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38805,
    "c": 0.10689,
    "h": 263.9
  },
  "luminance": 0.05673
}

Semantic roles & 50–950 ramp

primary
#26417D
secondary
#AF9150
accent
#B04BDD
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #26417D

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

Preview Lab → · Contrast checker → · Palette generator →

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