#26417A#26417A

#26417A is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.6% C 0.102 H 263.3°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#26417A
RGBrgb(38, 65, 122)
HSLhsl(221, 53%, 31%)
HSVhsv(221, 69%, 48%)
CMYKcmyk(68.9%, 46.7%, 0%, 52.2%)
CIE-LABlab(28.37, 10.03, -35.57)
CIE-LCHlch(28.37, 36.96, 285.74°)
OKLaboklab(38.59% -0.0119 -0.1017)
OKLCHoklch(38.59% 0.102 263.3)
XYZxyz(6.2012, 5.5972, 19.1621)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26417A #7A5F26
analogous
#266B7A #26417A #35267A
triadic
#26417A #7A2641 #417A26
tetradic
#26417A #7A266B #7A5F26 #267A35
square
#26417A #7A266B #7A5F26 #267A35
split-complementary
#26417A #7A3526 #6B7A26
monochromatic
#090F1D #17284B #26417A #355AA9 #5178C9

Accessibility & contrast

On white

9.91
#26417A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26417A
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26417A#FFFFFF#000000##FFFFFF
##26417A1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25477C
Deuteranopia (green-blind)
#163F79
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #26417a;
/* rgb */ color: rgb(38, 65, 122);
/* oklch */ color: oklch(38.6% 0.102 263.3);
Tailwind
colors: {
  custom: {
    50: '#6a75a1',
    500: '#26417a',
    950: '#000000',
  },
}
SCSS
$custom: #26417a;
$custom-light: #6a75a1;
$custom-dark: #000000;
JSON
{
  "hex": "#26417a",
  "rgb": {
    "r": 38,
    "g": 65,
    "b": 122
  },
  "hsl": {
    "h": 220.714,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38588,
    "c": 0.10237,
    "h": 263.3
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

primary
#26417A
secondary
#AC8E50
accent
#AE4CDC
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #26417A

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

Preview Lab → · Contrast checker → · Palette generator →

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