#26279D#26279D

#26279D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.184 H 272.4°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#26279D
RGBrgb(38, 39, 157)
HSLhsl(239, 61%, 38%)
HSVhsv(239, 76%, 62%)
CMYKcmyk(75.8%, 75.2%, 0%, 38.4%)
CIE-LABlab(24.63, 40.37, -63.36)
CIE-LCHlch(24.63, 75.13, 302.50°)
OKLaboklab(36.74% 0.0077 -0.1834)
OKLCHoklch(36.74% 0.184 272.4)
XYZxyz(7.6086, 4.2966, 32.3201)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26279D #9D9C26
analogous
#26629D #26279D #60269D
triadic
#26279D #9D2627 #279D26
tetradic
#26279D #9D2662 #9D9C26 #269D60
square
#26279D #9D2662 #9D9C26 #269D60
split-complementary
#26279D #9D6026 #629D26
monochromatic
#0E0F3A #1A1B6C #26279D #3334CE #6465D9

Accessibility & contrast

On white

11.29
#26279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#26279D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26279D
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26279D#FFFFFF#000000##FFFFFF
##26279D1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #26279d;
/* rgb */ color: rgb(38, 39, 157);
/* oklch */ color: oklch(36.7% 0.184 272.4);
Tailwind
colors: {
  custom: {
    50: '#7563bb',
    500: '#26279d',
    950: '#000000',
  },
}
SCSS
$custom: #26279d;
$custom-light: #7563bb;
$custom-dark: #000000;
JSON
{
  "hex": "#26279d",
  "rgb": {
    "r": 38,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 239.496,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36738,
    "c": 0.18355,
    "h": 272.4
  },
  "luminance": 0.04297
}

Semantic roles & 50–950 ramp

primary
#26279D
secondary
#BFBE60
accent
#E344E4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #26279D

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

Preview Lab → · Contrast checker → · Palette generator →

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