#26337B#26337B

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

Color values

HEX#26337B
RGBrgb(38, 51, 123)
HSLhsl(231, 53%, 32%)
HSVhsv(231, 69%, 48%)
CMYKcmyk(69.1%, 58.5%, 0%, 51.8%)
CIE-LABlab(24.35, 20.13, -42.69)
CIE-LCHlch(24.35, 47.20, 295.25°)
OKLaboklab(35.56% 0.0023 -0.1228)
OKLCHoklch(35.56% 0.123 271.1)
XYZxyz(5.5571, 4.2093, 19.2547)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26337B #7B6E26
analogous
#265E7B #26337B #44267B
triadic
#26337B #7B2633 #337B26
tetradic
#26337B #7B265E #7B6E26 #267B44
square
#26337B #7B265E #7B6E26 #267B44
split-complementary
#26337B #7B4426 #5E7B26
monochromatic
#090C1D #18204C #26337B #3446AA #5264CA

Accessibility & contrast

On white

11.40
#26337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26337B
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26337B#FFFFFF#000000##FFFFFF
##26337B1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #26337b;
/* rgb */ color: rgb(38, 51, 123);
/* oklch */ color: oklch(35.6% 0.123 271.1);
Tailwind
colors: {
  custom: {
    50: '#6b6aa2',
    500: '#26337b',
    950: '#000000',
  },
}
SCSS
$custom: #26337b;
$custom-light: #6b6aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#26337b",
  "rgb": {
    "r": 38,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 230.824,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3556,
    "c": 0.12284,
    "h": 271.1
  },
  "luminance": 0.0421
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26337B

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

Preview Lab → · Contrast checker → · Palette generator →

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