#26188F#26188F

#26188F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.2% C 0.180 H 275.5°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#26188F
RGBrgb(38, 24, 143)
HSLhsl(247, 71%, 33%)
HSVhsv(247, 83%, 56%)
CMYKcmyk(73.4%, 83.2%, 0%, 43.9%)
CIE-LABlab(20.23, 43.81, -62.00)
CIE-LCHlch(20.23, 75.92, 305.24°)
OKLaboklab(33.19% 0.0173 -0.1792)
OKLCHoklch(33.19% 0.18 275.5)
XYZxyz(6.0823, 3.0479, 26.2490)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26188F #818F18
analogous
#18458F #26188F #61188F
triadic
#26188F #8F2618 #188F26
tetradic
#26188F #8F1845 #818F18 #188F61
square
#26188F #8F1845 #818F18 #188F61
split-complementary
#26188F #8F6118 #458F18
monochromatic
#0A0626 #180F5B #26188F #3421C3 #5542DF

Accessibility & contrast

On white

13.05
#26188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#26188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26188F
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26188F#FFFFFF#000000##FFFFFF
##26188F1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002B8D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #26188f;
/* rgb */ color: rgb(38, 24, 143);
/* oklch */ color: oklch(33.2% 0.180 275.5);
Tailwind
colors: {
  custom: {
    50: '#7359b1',
    500: '#26188f',
    950: '#000000',
  },
}
SCSS
$custom: #26188f;
$custom-light: #7359b1;
$custom-dark: #000000;
JSON
{
  "hex": "#26188f",
  "rgb": {
    "r": 38,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 247.059,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33188,
    "c": 0.18008,
    "h": 275.5
  },
  "luminance": 0.03049
}

Semantic roles & 50–950 ramp

primary
#26188F
secondary
#B1C043
accent
#EE3AD9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #26188F

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

Preview Lab → · Contrast checker → · Palette generator →

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