#26327A#26327A

#26327A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.123 H 271.5°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#26327A
RGBrgb(38, 50, 122)
HSLhsl(231, 53%, 31%)
HSVhsv(231, 69%, 48%)
CMYKcmyk(68.9%, 59%, 0%, 52.2%)
CIE-LABlab(23.99, 20.44, -42.64)
CIE-LCHlch(23.99, 47.29, 295.62°)
OKLaboklab(35.27% 0.0032 -0.1227)
OKLCHoklch(35.27% 0.123 271.5)
XYZxyz(5.4516, 4.0979, 18.9123)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26327A #7A6E26
analogous
#265C7A #26327A #44267A
triadic
#26327A #7A2632 #327A26
tetradic
#26327A #7A265C #7A6E26 #267A44
square
#26327A #7A265C #7A6E26 #267A44
split-complementary
#26327A #7A4426 #5C7A26
monochromatic
#090C1D #171F4B #26327A #3545A9 #5163C9

Accessibility & contrast

On white

11.54
#26327A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#26327A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26327A
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26327A#FFFFFF#000000##FFFFFF
##26327A1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #26327a;
/* rgb */ color: rgb(38, 50, 122);
/* oklch */ color: oklch(35.3% 0.123 271.5);
Tailwind
colors: {
  custom: {
    50: '#6b69a1',
    500: '#26327a',
    950: '#000000',
  },
}
SCSS
$custom: #26327a;
$custom-light: #6b69a1;
$custom-dark: #000000;
JSON
{
  "hex": "#26327a",
  "rgb": {
    "r": 38,
    "g": 50,
    "b": 122
  },
  "hsl": {
    "h": 231.429,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35267,
    "c": 0.12273,
    "h": 271.5
  },
  "luminance": 0.04098
}

Semantic roles & 50–950 ramp

primary
#26327A
secondary
#AC9F50
accent
#C74CDC
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #26327A

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

Preview Lab → · Contrast checker → · Palette generator →

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