#26187C#26187C

#26187C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.157 H 278.4°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#26187C
RGBrgb(38, 24, 124)
HSLhsl(248, 68%, 29%)
HSVhsv(248, 81%, 49%)
CMYKcmyk(69.4%, 80.6%, 0%, 51.4%)
CIE-LABlab(18.01, 37.74, -53.71)
CIE-LCHlch(18.01, 65.65, 305.10°)
OKLaboklab(30.99% 0.0228 -0.1551)
OKLCHoklch(30.99% 0.157 278.4)
XYZxyz(4.7629, 2.5202, 19.3003)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26187C #6E7C18
analogous
#183C7C #26187C #58187C
triadic
#26187C #7C2618 #187C26
tetradic
#26187C #7C183C #6E7C18 #187C58
square
#26187C #7C183C #6E7C18 #187C58
split-complementary
#26187C #7C5818 #3C7C18
monochromatic
#08051A #160E49 #26187C #3622AF #4D36D8

Accessibility & contrast

On white

13.96
#26187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#26187C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26187C
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26187C#FFFFFF#000000##FFFFFF
##26187C1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#00287A
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #26187c;
/* rgb */ color: rgb(38, 24, 124);
/* oklch */ color: oklch(31.0% 0.157 278.4);
Tailwind
colors: {
  custom: {
    50: '#6e58a3',
    500: '#26187c',
    950: '#000000',
  },
}
SCSS
$custom: #26187c;
$custom-light: #6e58a3;
$custom-dark: #000000;
JSON
{
  "hex": "#26187c",
  "rgb": {
    "r": 38,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 248.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30989,
    "c": 0.15681,
    "h": 278.4
  },
  "luminance": 0.02521
}

Semantic roles & 50–950 ramp

primary
#26187C
secondary
#A1B13F
accent
#EA3DD2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #26187C

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

Preview Lab → · Contrast checker → · Palette generator →

#26187C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva