#26339A#26339A

#26339A is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.166 H 270.5°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#26339A
RGBrgb(38, 51, 154)
HSLhsl(233, 60%, 38%)
HSVhsv(233, 75%, 60%)
CMYKcmyk(75.3%, 66.9%, 0%, 39.6%)
CIE-LABlab(27.05, 31.84, -57.54)
CIE-LCHlch(27.05, 65.77, 298.96°)
OKLaboklab(38.39% 0.0015 -0.1664)
OKLCHoklch(38.39% 0.166 270.5)
XYZxyz(7.8139, 5.1120, 31.1405)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26339A #9A8D26
analogous
#266D9A #26339A #53269A
triadic
#26339A #9A2633 #339A26
tetradic
#26339A #9A266D #9A8D26 #269A53
square
#26339A #9A266D #9A8D26 #269A53
split-complementary
#26339A #9A5326 #6D9A26
monochromatic
#0E1238 #1A2369 #26339A #3243CB #626FD8

Accessibility & contrast

On white

10.38
#26339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#26339A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26339A
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26339A#FFFFFF#000000##FFFFFF
##26339A1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#003A98
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #26339a;
/* rgb */ color: rgb(38, 51, 154);
/* oklch */ color: oklch(38.4% 0.166 270.5);
Tailwind
colors: {
  custom: {
    50: '#736bb9',
    500: '#26339a',
    950: '#000000',
  },
}
SCSS
$custom: #26339a;
$custom-light: #736bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#26339a",
  "rgb": {
    "r": 38,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 233.276,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38393,
    "c": 0.16642,
    "h": 270.5
  },
  "luminance": 0.05113
}

Semantic roles & 50–950 ramp

primary
#26339A
secondary
#BEB35E
accent
#D244E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #26339A

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

Preview Lab → · Contrast checker → · Palette generator →

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