#26187A#26187A

#26187A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.154 H 278.7°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#26187A
RGBrgb(38, 24, 122)
HSLhsl(249, 67%, 29%)
HSVhsv(249, 80%, 48%)
CMYKcmyk(68.9%, 80.3%, 0%, 52.2%)
CIE-LABlab(17.78, 37.09, -52.81)
CIE-LCHlch(17.78, 64.53, 305.08°)
OKLaboklab(30.76% 0.0234 -0.1525)
OKLCHoklch(30.76% 0.154 278.7)
XYZxyz(4.6377, 2.4701, 18.6410)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26187A #6C7A18
analogous
#183B7A #26187A #57187A
triadic
#26187A #7A2618 #187A26
tetradic
#26187A #7A183B #6C7A18 #187A57
square
#26187A #7A183B #6C7A18 #187A57
split-complementary
#26187A #7A5718 #3B7A18
monochromatic
#08051A #160E47 #26187A #3622AD #4C35D7

Accessibility & contrast

On white

14.06
#26187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#26187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26187A
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26187A#FFFFFF#000000##FFFFFF
##26187A1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7D
Deuteranopia (green-blind)
#002878
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #26187a;
/* rgb */ color: rgb(38, 24, 122);
/* oklch */ color: oklch(30.8% 0.154 278.7);
Tailwind
colors: {
  custom: {
    50: '#6e58a2',
    500: '#26187a',
    950: '#000000',
  },
}
SCSS
$custom: #26187a;
$custom-light: #6e58a2;
$custom-dark: #000000;
JSON
{
  "hex": "#26187a",
  "rgb": {
    "r": 38,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 248.571,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30763,
    "c": 0.15429,
    "h": 278.7
  },
  "luminance": 0.0247
}

Semantic roles & 50–950 ramp

primary
#26187A
secondary
#9FAF3F
accent
#EA3ED1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #26187A

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

Preview Lab → · Contrast checker → · Palette generator →

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