#26239A#26239A

#26239A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.184 H 273.1°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#26239A
RGBrgb(38, 35, 154)
HSLhsl(242, 63%, 37%)
HSVhsv(242, 77%, 60%)
CMYKcmyk(75.3%, 77.3%, 0%, 39.6%)
CIE-LABlab(23.49, 41.63, -63.40)
CIE-LCHlch(23.49, 75.85, 303.29°)
OKLaboklab(35.84% 0.0101 -0.1835)
OKLCHoklch(35.84% 0.184 273.1)
XYZxyz(7.2311, 3.9465, 30.9462)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26239A #979A23
analogous
#235B9A #26239A #62239A
triadic
#26239A #9A2623 #239A26
tetradic
#26239A #9A235B #979A23 #239A62
square
#26239A #9A235B #979A23 #239A62
split-complementary
#26239A #9A6223 #5B9A23
monochromatic
#0D0C36 #1A1868 #26239A #322ECC #605DDA

Accessibility & contrast

On white

11.74
#26239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#26239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26239A
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26239A#FFFFFF#000000##FFFFFF
##26239A1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003298
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #26239a;
/* rgb */ color: rgb(38, 35, 154);
/* oklch */ color: oklch(35.8% 0.184 273.1);
Tailwind
colors: {
  custom: {
    50: '#7460b9',
    500: '#26239a',
    950: '#000000',
  },
}
SCSS
$custom: #26239a;
$custom-light: #7460b9;
$custom-dark: #000000;
JSON
{
  "hex": "#26239a",
  "rgb": {
    "r": 38,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 241.513,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35837,
    "c": 0.18374,
    "h": 273.1
  },
  "luminance": 0.03947
}

Semantic roles & 50–950 ramp

primary
#26239A
secondary
#BCBF5A
accent
#E642E2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #26239A

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

Preview Lab → · Contrast checker → · Palette generator →

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