#26336F#26336F

#26336F is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.6% C 0.105 H 270.8°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#26336F
RGBrgb(38, 51, 111)
HSLhsl(229, 49%, 29%)
HSVhsv(229, 66%, 44%)
CMYKcmyk(65.8%, 54.1%, 0%, 56.5%)
CIE-LABlab(23.43, 15.52, -36.53)
CIE-LCHlch(23.43, 39.69, 293.02°)
OKLaboklab(34.57% 0.0015 -0.1047)
OKLCHoklch(34.57% 0.105 270.8)
XYZxyz(4.8514, 3.9270, 15.5382)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26336F #6F6226
analogous
#26586F #26336F #3E266F
triadic
#26336F #6F2633 #336F26
tetradic
#26336F #6F2658 #6F6226 #266F3E
square
#26336F #6F2658 #6F6226 #266F3E
split-complementary
#26336F #6F3E26 #586F26
monochromatic
#080A17 #161E41 #26336F #36489D #4D62C2

Accessibility & contrast

On white

11.76
#26336F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#26336F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26336F
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26336F#FFFFFF#000000##FFFFFF
##26336F1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103B71
Deuteranopia (green-blind)
#00356E
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #26336f;
/* rgb */ color: rgb(38, 51, 111);
/* oklch */ color: oklch(34.6% 0.105 270.8);
Tailwind
colors: {
  custom: {
    50: '#696a99',
    500: '#26336f',
    950: '#000000',
  },
}
SCSS
$custom: #26336f;
$custom-light: #696a99;
$custom-dark: #000000;
JSON
{
  "hex": "#26336f",
  "rgb": {
    "r": 38,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 229.315,
    "s": 48.993,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34573,
    "c": 0.10473,
    "h": 270.8
  },
  "luminance": 0.03927
}

Semantic roles & 50–950 ramp

primary
#26336F
secondary
#A2934F
accent
#C04FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #26336F

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

Preview Lab → · Contrast checker → · Palette generator →

#26336F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva