#26188A#26188A

#26188A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.174 H 276.2°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#26188A
RGBrgb(38, 24, 138)
HSLhsl(247, 70%, 32%)
HSVhsv(247, 83%, 54%)
CMYKcmyk(72.5%, 82.6%, 0%, 45.9%)
CIE-LABlab(19.64, 42.23, -59.87)
CIE-LCHlch(19.64, 73.27, 305.20°)
OKLaboklab(32.6% 0.0188 -0.173)
OKLCHoklch(32.6% 0.174 276.2)
XYZxyz(5.7119, 2.8998, 24.2985)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26188A #7C8A18
analogous
#18438A #26188A #5F188A
triadic
#26188A #8A2618 #188A26
tetradic
#26188A #8A1843 #7C8A18 #188A5F
square
#26188A #8A1843 #7C8A18 #188A5F
split-complementary
#26188A #8A5F18 #438A18
monochromatic
#090622 #180F56 #26188A #3421BE #523FDE

Accessibility & contrast

On white

13.29
#26188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#26188A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26188A
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26188A#FFFFFF#000000##FFFFFF
##26188A1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348D
Deuteranopia (green-blind)
#002A88
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #26188a;
/* rgb */ color: rgb(38, 24, 138);
/* oklch */ color: oklch(32.6% 0.174 276.2);
Tailwind
colors: {
  custom: {
    50: '#7159ad',
    500: '#26188a',
    950: '#000000',
  },
}
SCSS
$custom: #26188a;
$custom-light: #7159ad;
$custom-dark: #000000;
JSON
{
  "hex": "#26188a",
  "rgb": {
    "r": 38,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 247.368,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32601,
    "c": 0.17406,
    "h": 276.2
  },
  "luminance": 0.029
}

Semantic roles & 50–950 ramp

primary
#26188A
secondary
#AEBD40
accent
#ED3BD7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #26188A

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

Preview Lab → · Contrast checker → · Palette generator →

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