#26189F#26189F

#26189F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.199 H 273.7°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#26189F
RGBrgb(38, 24, 159)
HSLhsl(246, 74%, 36%)
HSVhsv(246, 85%, 62%)
CMYKcmyk(76.1%, 84.9%, 0%, 37.6%)
CIE-LABlab(22.19, 48.72, -68.63)
CIE-LCHlch(22.19, 84.17, 305.37°)
OKLaboklab(35.1% 0.0127 -0.1984)
OKLCHoklch(35.1% 0.199 273.7)
XYZxyz(7.3819, 3.5678, 33.0938)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26189F #919F18
analogous
#184D9F #26189F #69189F
triadic
#26189F #9F2618 #189F26
tetradic
#26189F #9F184D #919F18 #189F69
square
#26189F #9F184D #919F18 #189F69
split-complementary
#26189F #9F6918 #4D9F18
monochromatic
#0D0835 #19106A #26189F #3320D4 #5D4DE4

Accessibility & contrast

On white

12.25
#26189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26189F
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26189F#FFFFFF#000000##FFFFFF
##26189F1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#002F9D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #26189f;
/* rgb */ color: rgb(38, 24, 159);
/* oklch */ color: oklch(35.1% 0.199 273.7);
Tailwind
colors: {
  custom: {
    50: '#775abd',
    500: '#26189f',
    950: '#000000',
  },
}
SCSS
$custom: #26189f;
$custom-light: #775abd;
$custom-dark: #000000;
JSON
{
  "hex": "#26189f",
  "rgb": {
    "r": 38,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 246.222,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35098,
    "c": 0.19886,
    "h": 273.7
  },
  "luminance": 0.03569
}

Semantic roles & 50–950 ramp

primary
#26189F
secondary
#BAC64D
accent
#F037DD
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #26189F

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

Preview Lab → · Contrast checker → · Palette generator →

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