#26417E#26417E

#26417E is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.9% C 0.108 H 264.1°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#26417E
RGBrgb(38, 65, 126)
HSLhsl(222, 54%, 32%)
HSVhsv(222, 70%, 49%)
CMYKcmyk(69.8%, 48.4%, 0%, 50.6%)
CIE-LABlab(28.64, 11.58, -37.66)
CIE-LCHlch(28.64, 39.40, 287.10°)
OKLaboklab(38.88% -0.0112 -0.1078)
OKLCHoklch(38.88% 0.108 264.1)
XYZxyz(6.4542, 5.6984, 20.4944)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26417E #7E6326
analogous
#266D7E #26417E #37267E
triadic
#26417E #7E2641 #417E26
tetradic
#26417E #7E266D #7E6326 #267E37
square
#26417E #7E266D #7E6326 #267E37
split-complementary
#26417E #7E3726 #6D7E26
monochromatic
#0A1020 #18294F #26417E #3459AD #5378CB

Accessibility & contrast

On white

9.81
#26417E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#26417E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26417E
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26417E#FFFFFF#000000##FFFFFF
##26417E1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224880
Deuteranopia (green-blind)
#10407D
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #26417e;
/* rgb */ color: rgb(38, 65, 126);
/* oklch */ color: oklch(38.9% 0.108 264.1);
Tailwind
colors: {
  custom: {
    50: '#6b75a4',
    500: '#26417e',
    950: '#000000',
  },
}
SCSS
$custom: #26417e;
$custom-light: #6b75a4;
$custom-dark: #000000;
JSON
{
  "hex": "#26417e",
  "rgb": {
    "r": 38,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 221.591,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38878,
    "c": 0.10838,
    "h": 264.1
  },
  "luminance": 0.05699
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26417E

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

Preview Lab → · Contrast checker → · Palette generator →

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