#26279A#26279A

#26279A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.180 H 272.6°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#26279A
RGBrgb(38, 39, 154)
HSLhsl(239, 60%, 38%)
HSVhsv(239, 75%, 60%)
CMYKcmyk(75.3%, 74.7%, 0%, 39.6%)
CIE-LABlab(24.31, 39.34, -62.06)
CIE-LCHlch(24.31, 73.48, 302.37°)
OKLaboklab(36.41% 0.0082 -0.1796)
OKLCHoklch(36.41% 0.18 272.6)
XYZxyz(7.3556, 4.1954, 30.9877)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26279A #9A9926
analogous
#26619A #26279A #5F269A
triadic
#26279A #9A2627 #279A26
tetradic
#26279A #9A2661 #9A9926 #269A5F
square
#26279A #9A2661 #9A9926 #269A5F
split-complementary
#26279A #9A5F26 #619A26
monochromatic
#0E0E38 #1A1B69 #26279A #3233CB #6263D8

Accessibility & contrast

On white

11.42
#26279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#26279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26279A
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26279A#FFFFFF#000000##FFFFFF
##26279A1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003498
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #26279a;
/* rgb */ color: rgb(38, 39, 154);
/* oklch */ color: oklch(36.4% 0.180 272.6);
Tailwind
colors: {
  custom: {
    50: '#7462b9',
    500: '#26279a',
    950: '#000000',
  },
}
SCSS
$custom: #26279a;
$custom-light: #7462b9;
$custom-dark: #000000;
JSON
{
  "hex": "#26279a",
  "rgb": {
    "r": 38,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 239.483,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36414,
    "c": 0.17978,
    "h": 272.6
  },
  "luminance": 0.04196
}

Semantic roles & 50–950 ramp

primary
#26279A
secondary
#BEBD5E
accent
#E244E4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #26279A

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

Preview Lab → · Contrast checker → · Palette generator →

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