#26186E#26186E

#26186E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.139 H 281.0°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#26186E
RGBrgb(38, 24, 110)
HSLhsl(250, 64%, 26%)
HSVhsv(250, 78%, 43%)
CMYKcmyk(65.5%, 78.2%, 0%, 56.9%)
CIE-LABlab(16.46, 33.13, -47.25)
CIE-LCHlch(16.46, 57.71, 305.04°)
OKLaboklab(29.44% 0.0266 -0.1363)
OKLCHoklch(29.44% 0.139 281)
XYZxyz(3.9395, 2.1908, 14.9641)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26186E #606E18
analogous
#18356E #26186E #51186E
triadic
#26186E #6E2618 #186E26
tetradic
#26186E #6E1835 #606E18 #186E51
square
#26186E #6E1835 #606E18 #186E51
split-complementary
#26186E #6E5118 #356E18
monochromatic
#090519 #150D3C #26186E #3723A0 #492FD2

Accessibility & contrast

On white

14.60
#26186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#26186E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26186E
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26186E#FFFFFF#000000##FFFFFF
##26186E1.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C70
Deuteranopia (green-blind)
#00266C
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #26186e;
/* rgb */ color: rgb(38, 24, 110);
/* oklch */ color: oklch(29.4% 0.139 281.0);
Tailwind
colors: {
  custom: {
    50: '#6b5799',
    500: '#26186e',
    950: '#000000',
  },
}
SCSS
$custom: #26186e;
$custom-light: #6b5799;
$custom-dark: #000000;
JSON
{
  "hex": "#26186e",
  "rgb": {
    "r": 38,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 249.767,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29437,
    "c": 0.13887,
    "h": 281
  },
  "luminance": 0.02191
}

Semantic roles & 50–950 ramp

primary
#26186E
secondary
#93A43E
accent
#E741CC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #26186E

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

Preview Lab → · Contrast checker → · Palette generator →

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