#26239B#26239B

#26239B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.185 H 273.1°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#26239B
RGBrgb(38, 35, 155)
HSLhsl(242, 63%, 37%)
HSVhsv(242, 77%, 61%)
CMYKcmyk(75.5%, 77.4%, 0%, 39.2%)
CIE-LABlab(23.60, 41.97, -63.83)
CIE-LCHlch(23.60, 76.39, 303.32°)
OKLaboklab(35.95% 0.0099 -0.1847)
OKLCHoklch(35.95% 0.185 273.1)
XYZxyz(7.3148, 3.9799, 31.3867)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26239B #989B23
analogous
#235C9B #26239B #62239B
triadic
#26239B #9B2623 #239B26
tetradic
#26239B #9B235C #989B23 #239B62
square
#26239B #9B235C #989B23 #239B62
split-complementary
#26239B #9B6223 #5C9B23
monochromatic
#0E0C37 #1A1869 #26239B #322ECD #615EDB

Accessibility & contrast

On white

11.69
#26239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#26239B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26239B
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26239B#FFFFFF#000000##FFFFFF
##26239B1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9E
Deuteranopia (green-blind)
#003299
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #26239b;
/* rgb */ color: rgb(38, 35, 155);
/* oklch */ color: oklch(35.9% 0.185 273.1);
Tailwind
colors: {
  custom: {
    50: '#7560ba',
    500: '#26239b',
    950: '#000000',
  },
}
SCSS
$custom: #26239b;
$custom-light: #7560ba;
$custom-dark: #000000;
JSON
{
  "hex": "#26239b",
  "rgb": {
    "r": 38,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 241.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.35948,
    "c": 0.18497,
    "h": 273.1
  },
  "luminance": 0.03981
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26239B

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

Preview Lab → · Contrast checker → · Palette generator →

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