#26339D#26339D

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

Color values

HEX#26339D
RGBrgb(38, 51, 157)
HSLhsl(233, 61%, 38%)
HSVhsv(233, 76%, 62%)
CMYKcmyk(75.8%, 67.5%, 0%, 38.4%)
CIE-LABlab(27.33, 32.95, -58.91)
CIE-LCHlch(27.33, 67.50, 299.22°)
OKLaboklab(38.69% 0.0013 -0.1704)
OKLCHoklch(38.69% 0.17 270.4)
XYZxyz(8.0669, 5.2132, 32.4729)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26339D #9D9026
analogous
#266E9D #26339D #54269D
triadic
#26339D #9D2633 #339D26
tetradic
#26339D #9D266E #9D9026 #269D54
square
#26339D #9D266E #9D9026 #269D54
split-complementary
#26339D #9D5426 #6E9D26
monochromatic
#0E133A #1A236C #26339D #3344CE #6471D9

Accessibility & contrast

On white

10.28
#26339D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26339D
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26339D#FFFFFF#000000##FFFFFF
##26339D1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#003B9B
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #26339d;
/* rgb */ color: rgb(38, 51, 157);
/* oklch */ color: oklch(38.7% 0.170 270.4);
Tailwind
colors: {
  custom: {
    50: '#746bbb',
    500: '#26339d',
    950: '#000000',
  },
}
SCSS
$custom: #26339d;
$custom-light: #746bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#26339d",
  "rgb": {
    "r": 38,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 233.445,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38685,
    "c": 0.17041,
    "h": 270.4
  },
  "luminance": 0.05214
}

Semantic roles & 50–950 ramp

primary
#26339D
secondary
#BFB560
accent
#D344E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #26339D

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

Preview Lab → · Contrast checker → · Palette generator →

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