#26279F#26279F

#26279F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.186 H 272.3°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#26279F
RGBrgb(38, 39, 159)
HSLhsl(240, 61%, 39%)
HSVhsv(240, 76%, 62%)
CMYKcmyk(76.1%, 75.5%, 0%, 37.6%)
CIE-LABlab(24.84, 41.05, -64.23)
CIE-LCHlch(24.84, 76.22, 302.58°)
OKLaboklab(36.96% 0.0073 -0.1859)
OKLCHoklch(36.96% 0.186 272.3)
XYZxyz(7.7807, 4.3655, 33.2267)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26279F #9F9E26
analogous
#26639F #26279F #61269F
triadic
#26279F #9F2627 #279F26
tetradic
#26279F #9F2663 #9F9E26 #269F61
square
#26279F #9F2663 #9F9E26 #269F61
split-complementary
#26279F #9F6126 #639F26
monochromatic
#0E0F3C #1A1B6E #26279F #3435CE #6566DA

Accessibility & contrast

On white

11.21
#26279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#26279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26279F
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26279F#FFFFFF#000000##FFFFFF
##26279F1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #26279f;
/* rgb */ color: rgb(38, 39, 159);
/* oklch */ color: oklch(37.0% 0.186 272.3);
Tailwind
colors: {
  custom: {
    50: '#7563bd',
    500: '#26279f',
    950: '#000000',
  },
}
SCSS
$custom: #26279f;
$custom-light: #7563bd;
$custom-dark: #000000;
JSON
{
  "hex": "#26279f",
  "rgb": {
    "r": 38,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 239.504,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.36955,
    "c": 0.18604,
    "h": 272.3
  },
  "luminance": 0.04366
}

Semantic roles & 50–950 ramp

primary
#26279F
secondary
#C0BF61
accent
#E343E5
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #26279F

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

Preview Lab → · Contrast checker → · Palette generator →

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