#26279B#26279B

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

Color values

HEX#26279B
RGBrgb(38, 39, 155)
HSLhsl(239, 61%, 38%)
HSVhsv(239, 75%, 61%)
CMYKcmyk(75.5%, 74.8%, 0%, 39.2%)
CIE-LABlab(24.41, 39.68, -62.50)
CIE-LCHlch(24.41, 74.03, 302.41°)
OKLaboklab(36.52% 0.0081 -0.1809)
OKLCHoklch(36.52% 0.181 272.6)
XYZxyz(7.4393, 4.2289, 31.4282)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26279B #9B9A26
analogous
#26629B #26279B #5F269B
triadic
#26279B #9B2627 #279B26
tetradic
#26279B #9B2662 #9B9A26 #269B5F
square
#26279B #9B2662 #9B9A26 #269B5F
split-complementary
#26279B #9B5F26 #629B26
monochromatic
#0E0E39 #1A1B6A #26279B #3233CC #6364D9

Accessibility & contrast

On white

11.38
#26279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#26279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26279B
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26279B#FFFFFF#000000##FFFFFF
##26279B1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003499
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #26279b;
/* rgb */ color: rgb(38, 39, 155);
/* oklch */ color: oklch(36.5% 0.181 272.6);
Tailwind
colors: {
  custom: {
    50: '#7463ba',
    500: '#26279b',
    950: '#000000',
  },
}
SCSS
$custom: #26279b;
$custom-light: #7463ba;
$custom-dark: #000000;
JSON
{
  "hex": "#26279b",
  "rgb": {
    "r": 38,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 239.487,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36521,
    "c": 0.18104,
    "h": 272.6
  },
  "luminance": 0.0423
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26279B

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

Preview Lab → · Contrast checker → · Palette generator →

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