#26189E#26189E

#26189E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 35.0% C 0.198 H 273.8°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#26189E
RGBrgb(38, 24, 158)
HSLhsl(246, 74%, 36%)
HSVhsv(246, 85%, 62%)
CMYKcmyk(75.9%, 84.8%, 0%, 38%)
CIE-LABlab(22.06, 48.42, -68.22)
CIE-LCHlch(22.06, 83.66, 305.37°)
OKLaboklab(34.98% 0.013 -0.1973)
OKLCHoklch(34.98% 0.198 273.8)
XYZxyz(7.2955, 3.5332, 32.6386)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26189E #909E18
analogous
#184D9E #26189E #69189E
triadic
#26189E #9E2618 #189E26
tetradic
#26189E #9E184D #909E18 #189E69
square
#26189E #9E184D #909E18 #189E69
split-complementary
#26189E #9E6918 #4D9E18
monochromatic
#0C0834 #191069 #26189E #3320D3 #5C4DE4

Accessibility & contrast

On white

12.30
#26189E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#26189E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26189E
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26189E#FFFFFF#000000##FFFFFF
##26189E1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002E9C
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #26189e;
/* rgb */ color: rgb(38, 24, 158);
/* oklch */ color: oklch(35.0% 0.198 273.8);
Tailwind
colors: {
  custom: {
    50: '#765abc',
    500: '#26189e',
    950: '#000000',
  },
}
SCSS
$custom: #26189e;
$custom-light: #765abc;
$custom-dark: #000000;
JSON
{
  "hex": "#26189e",
  "rgb": {
    "r": 38,
    "g": 24,
    "b": 158
  },
  "hsl": {
    "h": 246.269,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34978,
    "c": 0.19771,
    "h": 273.8
  },
  "luminance": 0.03534
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26189E

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

Preview Lab → · Contrast checker → · Palette generator →

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