#26339C#26339C

#26339C is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.169 H 270.5°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#26339C
RGBrgb(38, 51, 156)
HSLhsl(233, 61%, 38%)
HSVhsv(233, 76%, 61%)
CMYKcmyk(75.6%, 67.3%, 0%, 38.8%)
CIE-LABlab(27.24, 32.58, -58.46)
CIE-LCHlch(27.24, 66.92, 299.13°)
OKLaboklab(38.59% 0.0014 -0.1691)
OKLCHoklch(38.59% 0.169 270.5)
XYZxyz(7.9819, 5.1792, 32.0251)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26339C #9C8F26
analogous
#266E9C #26339C #54269C
triadic
#26339C #9C2633 #339C26
tetradic
#26339C #9C266E #9C8F26 #269C54
square
#26339C #9C266E #9C8F26 #269C54
split-complementary
#26339C #9C5426 #6E9C26
monochromatic
#0E133A #1A236B #26339C #3243CD #6370D9

Accessibility & contrast

On white

10.31
#26339C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#26339C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26339C
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26339C#FFFFFF#000000##FFFFFF
##26339C1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #26339c;
/* rgb */ color: rgb(38, 51, 156);
/* oklch */ color: oklch(38.6% 0.169 270.5);
Tailwind
colors: {
  custom: {
    50: '#736bba',
    500: '#26339c',
    950: '#000000',
  },
}
SCSS
$custom: #26339c;
$custom-light: #736bba;
$custom-dark: #000000;
JSON
{
  "hex": "#26339c",
  "rgb": {
    "r": 38,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 233.39,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38587,
    "c": 0.16909,
    "h": 270.5
  },
  "luminance": 0.0518
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26339C

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

Preview Lab → · Contrast checker → · Palette generator →

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