#26337D#26337D

#26337D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.7% C 0.126 H 271.1°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#26337D
RGBrgb(38, 51, 125)
HSLhsl(231, 53%, 32%)
HSVhsv(231, 70%, 49%)
CMYKcmyk(69.6%, 59.2%, 0%, 51%)
CIE-LABlab(24.51, 20.90, -43.69)
CIE-LCHlch(24.51, 48.43, 295.56°)
OKLaboklab(35.73% 0.0023 -0.1258)
OKLCHoklch(35.73% 0.126 271.1)
XYZxyz(5.6836, 4.2599, 19.9208)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26337D #7D7026
analogous
#265F7D #26337D #44267D
triadic
#26337D #7D2633 #337D26
tetradic
#26337D #7D265F #7D7026 #267D44
square
#26337D #7D265F #7D7026 #267D44
split-complementary
#26337D #7D4426 #5F7D26
monochromatic
#090D1F #18204E #26337D #3446AC #5365CB

Accessibility & contrast

On white

11.34
#26337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#26337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26337D
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26337D#FFFFFF#000000##FFFFFF
##26337D1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #26337d;
/* rgb */ color: rgb(38, 51, 125);
/* oklch */ color: oklch(35.7% 0.126 271.1);
Tailwind
colors: {
  custom: {
    50: '#6c6aa3',
    500: '#26337d',
    950: '#000000',
  },
}
SCSS
$custom: #26337d;
$custom-light: #6c6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#26337d",
  "rgb": {
    "r": 38,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 231.034,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35731,
    "c": 0.12579,
    "h": 271.1
  },
  "luminance": 0.0426
}

Semantic roles & 50–950 ramp

primary
#26337D
secondary
#AFA150
accent
#C74BDD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #26337D

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

Preview Lab → · Contrast checker → · Palette generator →

#26337D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva