#26299C#26299C

#26299C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.180 H 272.2°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#26299C
RGBrgb(38, 41, 156)
HSLhsl(238, 61%, 38%)
HSVhsv(238, 76%, 61%)
CMYKcmyk(75.6%, 73.7%, 0%, 38.8%)
CIE-LABlab(24.94, 38.84, -62.23)
CIE-LCHlch(24.94, 73.36, 301.97°)
OKLaboklab(36.93% 0.0069 -0.1801)
OKLCHoklch(36.93% 0.18 272.2)
XYZxyz(7.5910, 4.3974, 31.8948)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26299C #9C9926
analogous
#26649C #26299C #5E269C
triadic
#26299C #9C2629 #299C26
tetradic
#26299C #9C2664 #9C9926 #269C5E
square
#26299C #9C2664 #9C9926 #269C5E
split-complementary
#26299C #9C5E26 #649C26
monochromatic
#0E0F3A #1A1C6B #26299C #3236CD #6366D9

Accessibility & contrast

On white

11.17
#26299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#26299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26299C
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26299C#FFFFFF#000000##FFFFFF
##26299C1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #26299c;
/* rgb */ color: rgb(38, 41, 156);
/* oklch */ color: oklch(36.9% 0.180 272.2);
Tailwind
colors: {
  custom: {
    50: '#7464ba',
    500: '#26299c',
    950: '#000000',
  },
}
SCSS
$custom: #26299c;
$custom-light: #7464ba;
$custom-dark: #000000;
JSON
{
  "hex": "#26299c",
  "rgb": {
    "r": 38,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 238.475,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36931,
    "c": 0.18023,
    "h": 272.2
  },
  "luminance": 0.04398
}

Semantic roles & 50–950 ramp

primary
#26299C
secondary
#BFBC5F
accent
#E044E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #26299C

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

Preview Lab → · Contrast checker → · Palette generator →

#26299C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva