#26338E#26338E

#26338E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.150 H 270.8°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#26338E
RGBrgb(38, 51, 142)
HSLhsl(233, 58%, 35%)
HSVhsv(233, 73%, 56%)
CMYKcmyk(73.2%, 64.1%, 0%, 44.3%)
CIE-LABlab(25.96, 27.37, -51.96)
CIE-LCHlch(25.96, 58.73, 297.78°)
OKLaboklab(37.25% 0.0022 -0.15)
OKLCHoklch(37.25% 0.15 270.8)
XYZxyz(6.8640, 4.7320, 26.1376)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26338E #8E8126
analogous
#26678E #26338E #4D268E
triadic
#26338E #8E2633 #338E26
tetradic
#26338E #8E2667 #8E8126 #268E4D
square
#26338E #8E2667 #8E8126 #268E4D
split-complementary
#26338E #8E4D26 #678E26
monochromatic
#0C102D #19225E #26338E #3344BE #5B6AD3

Accessibility & contrast

On white

10.79
#26338E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#26338E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26338E
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26338E#FFFFFF#000000##FFFFFF
##26338E1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #26338e;
/* rgb */ color: rgb(38, 51, 142);
/* oklch */ color: oklch(37.3% 0.150 270.8);
Tailwind
colors: {
  custom: {
    50: '#706ab0',
    500: '#26338e',
    950: '#000000',
  },
}
SCSS
$custom: #26338e;
$custom-light: #706ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#26338e",
  "rgb": {
    "r": 38,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 232.5,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37254,
    "c": 0.15007,
    "h": 270.8
  },
  "luminance": 0.04733
}

Semantic roles & 50–950 ramp

primary
#26338E
secondary
#B8AC58
accent
#CE47E1
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #26338E

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

Preview Lab → · Contrast checker → · Palette generator →

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