#26299E#26299E

#26299E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.183 H 272.1°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#26299E
RGBrgb(38, 41, 158)
HSLhsl(239, 61%, 38%)
HSVhsv(239, 76%, 62%)
CMYKcmyk(75.9%, 74.1%, 0%, 38%)
CIE-LABlab(25.15, 39.53, -63.11)
CIE-LCHlch(25.15, 74.47, 302.07°)
OKLaboklab(37.14% 0.0066 -0.1826)
OKLCHoklch(37.14% 0.183 272.1)
XYZxyz(7.7617, 4.4657, 32.7940)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26299E #9E9B26
analogous
#26659E #26299E #5F269E
triadic
#26299E #9E2629 #299E26
tetradic
#26299E #9E2665 #9E9B26 #269E5F
square
#26299E #9E2665 #9E9B26 #269E5F
split-complementary
#26299E #9E5F26 #659E26
monochromatic
#0E0F3B #1A1C6D #26299E #3337CE #6567DA

Accessibility & contrast

On white

11.09
#26299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#26299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26299E
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26299E#FFFFFF#000000##FFFFFF
##26299E1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #26299e;
/* rgb */ color: rgb(38, 41, 158);
/* oklch */ color: oklch(37.1% 0.183 272.1);
Tailwind
colors: {
  custom: {
    50: '#7564bc',
    500: '#26299e',
    950: '#000000',
  },
}
SCSS
$custom: #26299e;
$custom-light: #7564bc;
$custom-dark: #000000;
JSON
{
  "hex": "#26299e",
  "rgb": {
    "r": 38,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 238.5,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37144,
    "c": 0.18277,
    "h": 272.1
  },
  "luminance": 0.04467
}

Semantic roles & 50–950 ramp

primary
#26299E
secondary
#C0BD60
accent
#E043E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #26299E

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

Preview Lab → · Contrast checker → · Palette generator →

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