#26339B#26339B

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

Color values

HEX#26339B
RGBrgb(38, 51, 155)
HSLhsl(233, 61%, 38%)
HSVhsv(233, 75%, 61%)
CMYKcmyk(75.5%, 67.1%, 0%, 39.2%)
CIE-LABlab(27.15, 32.21, -58.00)
CIE-LCHlch(27.15, 66.35, 299.05°)
OKLaboklab(38.49% 0.0014 -0.1677)
OKLCHoklch(38.49% 0.168 270.5)
XYZxyz(7.8975, 5.1454, 31.5809)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26339B #9B8E26
analogous
#266E9B #26339B #53269B
triadic
#26339B #9B2633 #339B26
tetradic
#26339B #9B266E #9B8E26 #269B53
square
#26339B #9B266E #9B8E26 #269B53
split-complementary
#26339B #9B5326 #6E9B26
monochromatic
#0E1339 #1A236A #26339B #3243CC #6370D9

Accessibility & contrast

On white

10.35
#26339B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#26339B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26339B
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26339B#FFFFFF#000000##FFFFFF
##26339B1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #26339b;
/* rgb */ color: rgb(38, 51, 155);
/* oklch */ color: oklch(38.5% 0.168 270.5);
Tailwind
colors: {
  custom: {
    50: '#736bb9',
    500: '#26339b',
    950: '#000000',
  },
}
SCSS
$custom: #26339b;
$custom-light: #736bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#26339b",
  "rgb": {
    "r": 38,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 233.333,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.3849,
    "c": 0.16776,
    "h": 270.5
  },
  "luminance": 0.05146
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26339B

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

Preview Lab → · Contrast checker → · Palette generator →

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