#26188B#26188B

#26188B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.175 H 276.1°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#26188B
RGBrgb(38, 24, 139)
HSLhsl(247, 71%, 32%)
HSVhsv(247, 83%, 55%)
CMYKcmyk(72.7%, 82.7%, 0%, 45.5%)
CIE-LABlab(19.76, 42.55, -60.30)
CIE-LCHlch(19.76, 73.80, 305.21°)
OKLaboklab(32.72% 0.0185 -0.1743)
OKLCHoklch(32.72% 0.175 276.1)
XYZxyz(5.7846, 2.9289, 24.6816)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26188B #7D8B18
analogous
#18448B #26188B #5F188B
triadic
#26188B #8B2618 #188B26
tetradic
#26188B #8B1844 #7D8B18 #188B5F
square
#26188B #8B1844 #7D8B18 #188B5F
split-complementary
#26188B #8B5F18 #448B18
monochromatic
#090623 #180F57 #26188B #3421BF #533FDE

Accessibility & contrast

On white

13.24
#26188B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#26188B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26188B
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26188B#FFFFFF#000000##FFFFFF
##26188B1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358E
Deuteranopia (green-blind)
#002B89
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #26188b;
/* rgb */ color: rgb(38, 24, 139);
/* oklch */ color: oklch(32.7% 0.175 276.1);
Tailwind
colors: {
  custom: {
    50: '#7259ae',
    500: '#26188b',
    950: '#000000',
  },
}
SCSS
$custom: #26188b;
$custom-light: #7259ae;
$custom-dark: #000000;
JSON
{
  "hex": "#26188b",
  "rgb": {
    "r": 38,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 247.304,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32718,
    "c": 0.17527,
    "h": 276.1
  },
  "luminance": 0.02929
}

Semantic roles & 50–950 ramp

primary
#26188B
secondary
#AFBE40
accent
#ED3AD8
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #26188B

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

Preview Lab → · Contrast checker → · Palette generator →

#26188B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva