#26327F#26327F

#26327F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.130 H 271.4°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#26327F
RGBrgb(38, 50, 127)
HSLhsl(232, 54%, 32%)
HSVhsv(232, 70%, 50%)
CMYKcmyk(70.1%, 60.6%, 0%, 50.2%)
CIE-LABlab(24.40, 22.36, -45.13)
CIE-LCHlch(24.40, 50.36, 296.35°)
OKLaboklab(35.7% 0.0033 -0.13)
OKLCHoklch(35.7% 0.13 271.4)
XYZxyz(5.7694, 4.2250, 20.5860)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26327F #7F7326
analogous
#265F7F #26327F #47267F
triadic
#26327F #7F2632 #327F26
tetradic
#26327F #7F265F #7F7326 #267F47
square
#26327F #7F265F #7F7326 #267F47
split-complementary
#26327F #7F4726 #5F7F26
monochromatic
#0A0D21 #181F50 #26327F #3445AE #5464CC

Accessibility & contrast

On white

11.38
#26327F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#26327F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26327F
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26327F#FFFFFF#000000##FFFFFF
##26327F1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #26327f;
/* rgb */ color: rgb(38, 50, 127);
/* oklch */ color: oklch(35.7% 0.130 271.4);
Tailwind
colors: {
  custom: {
    50: '#6c69a5',
    500: '#26327f',
    950: '#000000',
  },
}
SCSS
$custom: #26327f;
$custom-light: #6c69a5;
$custom-dark: #000000;
JSON
{
  "hex": "#26327f",
  "rgb": {
    "r": 38,
    "g": 50,
    "b": 127
  },
  "hsl": {
    "h": 231.91,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.357,
    "c": 0.13006,
    "h": 271.4
  },
  "luminance": 0.04226
}

Semantic roles & 50–950 ramp

primary
#26327F
secondary
#B0A351
accent
#CA4ADD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #26327F

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

Preview Lab → · Contrast checker → · Palette generator →

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