#26299F#26299F

#26299F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.184 H 272.0°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#26299F
RGBrgb(38, 41, 159)
HSLhsl(239, 61%, 39%)
HSVhsv(239, 76%, 62%)
CMYKcmyk(76.1%, 74.2%, 0%, 37.6%)
CIE-LABlab(25.26, 39.88, -63.54)
CIE-LCHlch(25.26, 75.02, 302.11°)
OKLaboklab(37.25% 0.0064 -0.1839)
OKLCHoklch(37.25% 0.184 272)
XYZxyz(7.8482, 4.5003, 33.2492)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26299F #9F9C26
analogous
#26659F #26299F #5F269F
triadic
#26299F #9F2629 #299F26
tetradic
#26299F #9F2665 #9F9C26 #269F5F
square
#26299F #9F2665 #9F9C26 #269F5F
split-complementary
#26299F #9F5F26 #659F26
monochromatic
#0E103C #1A1C6E #26299F #3438CE #6568DA

Accessibility & contrast

On white

11.05
#26299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#26299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26299F
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26299F#FFFFFF#000000##FFFFFF
##26299F1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #26299f;
/* rgb */ color: rgb(38, 41, 159);
/* oklch */ color: oklch(37.3% 0.184 272.0);
Tailwind
colors: {
  custom: {
    50: '#7564bd',
    500: '#26299f',
    950: '#000000',
  },
}
SCSS
$custom: #26299f;
$custom-light: #7564bd;
$custom-dark: #000000;
JSON
{
  "hex": "#26299f",
  "rgb": {
    "r": 38,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 238.512,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37251,
    "c": 0.18402,
    "h": 272
  },
  "luminance": 0.04501
}

Semantic roles & 50–950 ramp

primary
#26299F
secondary
#C0BE61
accent
#E143E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #26299F

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

Preview Lab → · Contrast checker → · Palette generator →

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