#26339E#26339E

#26339E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.172 H 270.4°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#26339E
RGBrgb(38, 51, 158)
HSLhsl(234, 61%, 38%)
HSVhsv(234, 76%, 62%)
CMYKcmyk(75.9%, 67.7%, 0%, 38%)
CIE-LABlab(27.43, 33.31, -59.36)
CIE-LCHlch(27.43, 68.07, 299.30°)
OKLaboklab(38.78% 0.0012 -0.1717)
OKLCHoklch(38.78% 0.172 270.4)
XYZxyz(8.1526, 5.2475, 32.9243)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26339E #9E9126
analogous
#266F9E #26339E #55269E
triadic
#26339E #9E2633 #339E26
tetradic
#26339E #9E266F #9E9126 #269E55
square
#26339E #9E266F #9E9126 #269E55
split-complementary
#26339E #9E5526 #6F9E26
monochromatic
#0E133B #1A236D #26339E #3344CE #6571DA

Accessibility & contrast

On white

10.25
#26339E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#26339E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26339E
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26339E#FFFFFF#000000##FFFFFF
##26339E1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #26339e;
/* rgb */ color: rgb(38, 51, 158);
/* oklch */ color: oklch(38.8% 0.172 270.4);
Tailwind
colors: {
  custom: {
    50: '#746bbc',
    500: '#26339e',
    950: '#000000',
  },
}
SCSS
$custom: #26339e;
$custom-light: #746bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#26339e",
  "rgb": {
    "r": 38,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 233.5,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38783,
    "c": 0.17173,
    "h": 270.4
  },
  "luminance": 0.05248
}

Semantic roles & 50–950 ramp

primary
#26339E
secondary
#C0B560
accent
#D343E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #26339E

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

Preview Lab → · Contrast checker → · Palette generator →

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