#26339F#26339F

#26339F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.173 H 270.4°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#26339F
RGBrgb(38, 51, 159)
HSLhsl(234, 61%, 39%)
HSVhsv(234, 76%, 62%)
CMYKcmyk(76.1%, 67.9%, 0%, 37.6%)
CIE-LABlab(27.52, 33.68, -59.82)
CIE-LCHlch(27.52, 68.65, 299.38°)
OKLaboklab(38.88% 0.0011 -0.173)
OKLCHoklch(38.88% 0.173 270.4)
XYZxyz(8.2390, 5.2820, 33.3795)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26339F #9F9226
analogous
#266F9F #26339F #55269F
triadic
#26339F #9F2633 #339F26
tetradic
#26339F #9F266F #9F9226 #269F55
square
#26339F #9F266F #9F9226 #269F55
split-complementary
#26339F #9F5526 #6F9F26
monochromatic
#0E133C #1A236E #26339F #3444CE #6572DA

Accessibility & contrast

On white

10.21
#26339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#26339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26339F
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26339F#FFFFFF#000000##FFFFFF
##26339F1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #26339f;
/* rgb */ color: rgb(38, 51, 159);
/* oklch */ color: oklch(38.9% 0.173 270.4);
Tailwind
colors: {
  custom: {
    50: '#746bbc',
    500: '#26339f',
    950: '#000000',
  },
}
SCSS
$custom: #26339f;
$custom-light: #746bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#26339f",
  "rgb": {
    "r": 38,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 233.554,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38881,
    "c": 0.17305,
    "h": 270.4
  },
  "luminance": 0.05283
}

Semantic roles & 50–950 ramp

primary
#26339F
secondary
#C0B661
accent
#D343E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #26339F

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

Preview Lab → · Contrast checker → · Palette generator →

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