#26337A#26337A

#26337A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.5% C 0.121 H 271.1°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#26337A
RGBrgb(38, 51, 122)
HSLhsl(231, 53%, 31%)
HSVhsv(231, 69%, 48%)
CMYKcmyk(68.9%, 58.2%, 0%, 52.2%)
CIE-LABlab(24.27, 19.75, -42.18)
CIE-LCHlch(24.27, 46.58, 295.09°)
OKLaboklab(35.48% 0.0022 -0.1213)
OKLCHoklch(35.48% 0.121 271.1)
XYZxyz(5.4948, 4.1844, 18.9267)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26337A #7A6D26
analogous
#265D7A #26337A #43267A
triadic
#26337A #7A2633 #337A26
tetradic
#26337A #7A265D #7A6D26 #267A43
square
#26337A #7A265D #7A6D26 #267A43
split-complementary
#26337A #7A4326 #5D7A26
monochromatic
#090C1D #171F4B #26337A #3547A9 #5164C9

Accessibility & contrast

On white

11.43
#26337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#26337A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26337A
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26337A#FFFFFF#000000##FFFFFF
##26337A1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #26337a;
/* rgb */ color: rgb(38, 51, 122);
/* oklch */ color: oklch(35.5% 0.121 271.1);
Tailwind
colors: {
  custom: {
    50: '#6b6aa1',
    500: '#26337a',
    950: '#000000',
  },
}
SCSS
$custom: #26337a;
$custom-light: #6b6aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#26337a",
  "rgb": {
    "r": 38,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 230.714,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35475,
    "c": 0.12136,
    "h": 271.1
  },
  "luminance": 0.04185
}

Semantic roles & 50–950 ramp

primary
#26337A
secondary
#AC9E50
accent
#C64CDC
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #26337A

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

Preview Lab → · Contrast checker → · Palette generator →

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