#26186D#26186D

#26186D is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.138 H 281.3°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#26186D
RGBrgb(38, 24, 109)
HSLhsl(250, 64%, 26%)
HSVhsv(250, 78%, 43%)
CMYKcmyk(65.1%, 78%, 0%, 57.3%)
CIE-LABlab(16.35, 32.80, -46.77)
CIE-LCHlch(16.35, 57.13, 305.04°)
OKLaboklab(29.33% 0.0269 -0.1349)
OKLCHoklch(29.33% 0.138 281.3)
XYZxyz(3.8854, 2.1692, 14.6790)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26186D #5F6D18
analogous
#18346D #26186D #50186D
triadic
#26186D #6D2618 #186D26
tetradic
#26186D #6D1834 #5F6D18 #186D50
square
#26186D #6D1834 #5F6D18 #186D50
split-complementary
#26186D #6D5018 #346D18
monochromatic
#090619 #150D3B #26186D #37239F #492ED1

Accessibility & contrast

On white

14.65
#26186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#26186D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26186D
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26186D#FFFFFF#000000##FFFFFF
##26186D1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6F
Deuteranopia (green-blind)
#00256B
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #26186d;
/* rgb */ color: rgb(38, 24, 109);
/* oklch */ color: oklch(29.3% 0.138 281.3);
Tailwind
colors: {
  custom: {
    50: '#6b5798',
    500: '#26186d',
    950: '#000000',
  },
}
SCSS
$custom: #26186d;
$custom-light: #6b5798;
$custom-dark: #000000;
JSON
{
  "hex": "#26186d",
  "rgb": {
    "r": 38,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 249.882,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29329,
    "c": 0.13757,
    "h": 281.3
  },
  "luminance": 0.02169
}

Semantic roles & 50–950 ramp

primary
#26186D
secondary
#92A33E
accent
#E741CC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #26186D

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

Preview Lab → · Contrast checker → · Palette generator →

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