#26337C#26337C

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

Color values

HEX#26337C
RGBrgb(38, 51, 124)
HSLhsl(231, 53%, 32%)
HSVhsv(231, 69%, 49%)
CMYKcmyk(69.4%, 58.9%, 0%, 51.4%)
CIE-LABlab(24.43, 20.52, -43.19)
CIE-LCHlch(24.43, 47.81, 295.41°)
OKLaboklab(35.65% 0.0023 -0.1243)
OKLCHoklch(35.65% 0.124 271.1)
XYZxyz(5.6200, 4.2344, 19.5860)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26337C #7C6F26
analogous
#265E7C #26337C #44267C
triadic
#26337C #7C2633 #337C26
tetradic
#26337C #7C265E #7C6F26 #267C44
square
#26337C #7C265E #7C6F26 #267C44
split-complementary
#26337C #7C4426 #5E7C26
monochromatic
#090C1E #18204D #26337C #3446AB #5264CA

Accessibility & contrast

On white

11.37
#26337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26337C
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26337C#FFFFFF#000000##FFFFFF
##26337C1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #26337c;
/* rgb */ color: rgb(38, 51, 124);
/* oklch */ color: oklch(35.6% 0.124 271.1);
Tailwind
colors: {
  custom: {
    50: '#6c6aa3',
    500: '#26337c',
    950: '#000000',
  },
}
SCSS
$custom: #26337c;
$custom-light: #6c6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#26337c",
  "rgb": {
    "r": 38,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 230.93,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35646,
    "c": 0.12432,
    "h": 271.1
  },
  "luminance": 0.04235
}

Semantic roles & 50–950 ramp

primary
#26337C
secondary
#AEA050
accent
#C74BDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #26337C

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

Preview Lab → · Contrast checker → · Palette generator →

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