#26189B#26189B

#26189B is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.6% C 0.194 H 274.1°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#26189B
RGBrgb(38, 24, 155)
HSLhsl(246, 73%, 35%)
HSVhsv(246, 85%, 61%)
CMYKcmyk(75.5%, 84.5%, 0%, 39.2%)
CIE-LABlab(21.69, 47.51, -67.00)
CIE-LCHlch(21.69, 82.13, 305.34°)
OKLaboklab(34.62% 0.0139 -0.1937)
OKLCHoklch(34.62% 0.194 274.1)
XYZxyz(7.0404, 3.4312, 31.2952)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26189B #8D9B18
analogous
#184C9B #26189B #67189B
triadic
#26189B #9B2618 #189B26
tetradic
#26189B #9B184C #8D9B18 #189B67
square
#26189B #9B184C #8D9B18 #189B67
split-complementary
#26189B #9B6718 #4C9B18
monochromatic
#0C0831 #191066 #26189B #3320D0 #5B4AE3

Accessibility & contrast

On white

12.45
#26189B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#26189B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26189B
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26189B#FFFFFF#000000##FFFFFF
##26189B1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9F
Deuteranopia (green-blind)
#002E99
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #26189b;
/* rgb */ color: rgb(38, 24, 155);
/* oklch */ color: oklch(34.6% 0.194 274.1);
Tailwind
colors: {
  custom: {
    50: '#765aba',
    500: '#26189b',
    950: '#000000',
  },
}
SCSS
$custom: #26189b;
$custom-light: #765aba;
$custom-dark: #000000;
JSON
{
  "hex": "#26189b",
  "rgb": {
    "r": 38,
    "g": 24,
    "b": 155
  },
  "hsl": {
    "h": 246.412,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34617,
    "c": 0.19423,
    "h": 274.1
  },
  "luminance": 0.03432
}

Semantic roles & 50–950 ramp

primary
#26189B
secondary
#B8C54A
accent
#F038DC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #26189B

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

Preview Lab → · Contrast checker → · Palette generator →

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