#26427F#26427F

#26427F is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.2% C 0.109 H 263.6°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#26427F
RGBrgb(38, 66, 127)
HSLhsl(221, 54%, 32%)
HSVhsv(221, 70%, 50%)
CMYKcmyk(70.1%, 48%, 0%, 50.2%)
CIE-LABlab(29.01, 11.28, -37.69)
CIE-LCHlch(29.01, 39.34, 286.67°)
OKLaboklab(39.18% -0.012 -0.1079)
OKLCHoklch(39.18% 0.109 263.6)
XYZxyz(6.5770, 5.8402, 20.8552)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26427F #7F6326
analogous
#266E7F #26427F #37267F
triadic
#26427F #7F2642 #427F26
tetradic
#26427F #7F266E #7F6326 #267F37
square
#26427F #7F266E #7F6326 #267F37
split-complementary
#26427F #7F3726 #6E7F26
monochromatic
#0A1121 #182A50 #26427F #345AAE #5479CC

Accessibility & contrast

On white

9.69
#26427F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#26427F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26427F
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26427F#FFFFFF#000000##FFFFFF
##26427F1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234981
Deuteranopia (green-blind)
#11417E
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #26427f;
/* rgb */ color: rgb(38, 66, 127);
/* oklch */ color: oklch(39.2% 0.109 263.6);
Tailwind
colors: {
  custom: {
    50: '#6b75a4',
    500: '#26427f',
    950: '#000000',
  },
}
SCSS
$custom: #26427f;
$custom-light: #6b75a4;
$custom-dark: #000000;
JSON
{
  "hex": "#26427f",
  "rgb": {
    "r": 38,
    "g": 66,
    "b": 127
  },
  "hsl": {
    "h": 221.124,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39181,
    "c": 0.10856,
    "h": 263.6
  },
  "luminance": 0.05841
}

Semantic roles & 50–950 ramp

primary
#26427F
secondary
#B09251
accent
#AF4ADD
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #26427F

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

Preview Lab → · Contrast checker → · Palette generator →

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