#26189D#26189D

#26189D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.9% C 0.197 H 273.9°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#26189D
RGBrgb(38, 24, 157)
HSLhsl(246, 73%, 35%)
HSVhsv(246, 85%, 62%)
CMYKcmyk(75.8%, 84.7%, 0%, 38.4%)
CIE-LABlab(21.94, 48.12, -67.82)
CIE-LCHlch(21.94, 83.15, 305.36°)
OKLaboklab(34.86% 0.0133 -0.1961)
OKLCHoklch(34.86% 0.197 273.9)
XYZxyz(7.2097, 3.4989, 32.1871)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26189D #8F9D18
analogous
#184C9D #26189D #68189D
triadic
#26189D #9D2618 #189D26
tetradic
#26189D #9D184C #8F9D18 #189D68
square
#26189D #9D184C #8F9D18 #189D68
split-complementary
#26189D #9D6818 #4C9D18
monochromatic
#0C0833 #191068 #26189D #3320D2 #5C4CE4

Accessibility & contrast

On white

12.35
#26189D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#26189D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26189D
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26189D#FFFFFF#000000##FFFFFF
##26189D1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA1
Deuteranopia (green-blind)
#002E9B
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #26189d;
/* rgb */ color: rgb(38, 24, 157);
/* oklch */ color: oklch(34.9% 0.197 273.9);
Tailwind
colors: {
  custom: {
    50: '#765abb',
    500: '#26189d',
    950: '#000000',
  },
}
SCSS
$custom: #26189d;
$custom-light: #765abb;
$custom-dark: #000000;
JSON
{
  "hex": "#26189d",
  "rgb": {
    "r": 38,
    "g": 24,
    "b": 157
  },
  "hsl": {
    "h": 246.316,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34857,
    "c": 0.19655,
    "h": 273.9
  },
  "luminance": 0.035
}

Semantic roles & 50–950 ramp

primary
#26189D
secondary
#B9C54B
accent
#F038DD
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #26189D

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

Preview Lab → · Contrast checker → · Palette generator →

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