#26337E#26337E

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

Color values

HEX#26337E
RGBrgb(38, 51, 126)
HSLhsl(231, 54%, 32%)
HSVhsv(231, 70%, 49%)
CMYKcmyk(69.8%, 59.5%, 0%, 50.6%)
CIE-LABlab(24.59, 21.28, -44.19)
CIE-LCHlch(24.59, 49.05, 295.72°)
OKLaboklab(35.82% 0.0024 -0.1272)
OKLCHoklch(35.82% 0.127 271.1)
XYZxyz(5.7478, 4.2855, 20.2589)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26337E #7E7126
analogous
#265F7E #26337E #45267E
triadic
#26337E #7E2633 #337E26
tetradic
#26337E #7E265F #7E7126 #267E45
square
#26337E #7E265F #7E7126 #267E45
split-complementary
#26337E #7E4526 #5F7E26
monochromatic
#0A0D20 #18204F #26337E #3446AD #5365CB

Accessibility & contrast

On white

11.31
#26337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#26337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26337E
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26337E#FFFFFF#000000##FFFFFF
##26337E1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #26337e;
/* rgb */ color: rgb(38, 51, 126);
/* oklch */ color: oklch(35.8% 0.127 271.1);
Tailwind
colors: {
  custom: {
    50: '#6c6aa4',
    500: '#26337e',
    950: '#000000',
  },
}
SCSS
$custom: #26337e;
$custom-light: #6c6aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#26337e",
  "rgb": {
    "r": 38,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 231.136,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35818,
    "c": 0.12726,
    "h": 271.1
  },
  "luminance": 0.04286
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26337E

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

Preview Lab → · Contrast checker → · Palette generator →

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