#26338B#26338B

#26338B is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.146 H 270.9°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#26338B
RGBrgb(38, 51, 139)
HSLhsl(232, 57%, 35%)
HSVhsv(232, 73%, 55%)
CMYKcmyk(72.7%, 63.3%, 0%, 45.5%)
CIE-LABlab(25.69, 26.24, -50.53)
CIE-LCHlch(25.69, 56.94, 297.44°)
OKLaboklab(36.98% 0.0023 -0.1459)
OKLCHoklch(36.98% 0.146 270.9)
XYZxyz(6.6418, 4.6431, 24.9673)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26338B #8B7E26
analogous
#26668B #26338B #4B268B
triadic
#26338B #8B2633 #338B26
tetradic
#26338B #8B2666 #8B7E26 #268B4B
square
#26338B #8B2666 #8B7E26 #268B4B
split-complementary
#26338B #8B4B26 #668B26
monochromatic
#0C102B #19215B #26338B #3345BB #5A69D2

Accessibility & contrast

On white

10.89
#26338B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#26338B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26338B
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26338B#FFFFFF#000000##FFFFFF
##26338B1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#003889
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #26338b;
/* rgb */ color: rgb(38, 51, 139);
/* oklch */ color: oklch(37.0% 0.146 270.9);
Tailwind
colors: {
  custom: {
    50: '#6f6aae',
    500: '#26338b',
    950: '#000000',
  },
}
SCSS
$custom: #26338b;
$custom-light: #6f6aae;
$custom-dark: #000000;
JSON
{
  "hex": "#26338b",
  "rgb": {
    "r": 38,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 232.277,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36977,
    "c": 0.14589,
    "h": 270.9
  },
  "luminance": 0.04644
}

Semantic roles & 50–950 ramp

primary
#26338B
secondary
#B7AA56
accent
#CD47E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #26338B

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

Preview Lab → · Contrast checker → · Palette generator →

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