#26239C#26239C

#26239C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.186 H 273.0°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#26239C
RGBrgb(38, 35, 156)
HSLhsl(241, 63%, 37%)
HSVhsv(241, 78%, 61%)
CMYKcmyk(75.6%, 77.6%, 0%, 38.8%)
CIE-LABlab(23.72, 42.30, -64.26)
CIE-LCHlch(23.72, 76.93, 303.36°)
OKLaboklab(36.06% 0.0097 -0.1859)
OKLCHoklch(36.06% 0.186 273)
XYZxyz(7.3991, 4.0137, 31.8308)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26239C #999C23
analogous
#235C9C #26239C #63239C
triadic
#26239C #9C2623 #239C26
tetradic
#26239C #9C235C #999C23 #239C63
square
#26239C #9C235C #999C23 #239C63
split-complementary
#26239C #9C6323 #5C9C23
monochromatic
#0E0D38 #1A186A #26239C #322ECE #625EDB

Accessibility & contrast

On white

11.65
#26239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26239C
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26239C#FFFFFF#000000##FFFFFF
##26239C1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00329A
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #26239c;
/* rgb */ color: rgb(38, 35, 156);
/* oklch */ color: oklch(36.1% 0.186 273.0);
Tailwind
colors: {
  custom: {
    50: '#7560ba',
    500: '#26239c',
    950: '#000000',
  },
}
SCSS
$custom: #26239c;
$custom-light: #7560ba;
$custom-dark: #000000;
JSON
{
  "hex": "#26239c",
  "rgb": {
    "r": 38,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 241.488,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3606,
    "c": 0.1862,
    "h": 273
  },
  "luminance": 0.04014
}

Semantic roles & 50–950 ramp

primary
#26239C
secondary
#BDC05B
accent
#E641E2
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #26239C

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

Preview Lab → · Contrast checker → · Palette generator →

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