#26299B#26299B

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

Color values

HEX#26299B
RGBrgb(38, 41, 155)
HSLhsl(238, 61%, 38%)
HSVhsv(238, 75%, 61%)
CMYKcmyk(75.5%, 73.5%, 0%, 39.2%)
CIE-LABlab(24.84, 38.49, -61.79)
CIE-LCHlch(24.84, 72.80, 301.92°)
OKLaboklab(36.82% 0.0071 -0.1788)
OKLCHoklch(36.82% 0.179 272.3)
XYZxyz(7.5067, 4.3637, 31.4507)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26299B #9B9826
analogous
#26639B #26299B #5E269B
triadic
#26299B #9B2629 #299B26
tetradic
#26299B #9B2663 #9B9826 #269B5E
square
#26299B #9B2663 #9B9826 #269B5E
split-complementary
#26299B #9B5E26 #639B26
monochromatic
#0E0F39 #1A1C6A #26299B #3236CC #6366D9

Accessibility & contrast

On white

11.21
#26299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#26299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26299B
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26299B#FFFFFF#000000##FFFFFF
##26299B1.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)
#00419E
Deuteranopia (green-blind)
#003599
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #26299b;
/* rgb */ color: rgb(38, 41, 155);
/* oklch */ color: oklch(36.8% 0.179 272.3);
Tailwind
colors: {
  custom: {
    50: '#7464ba',
    500: '#26299b',
    950: '#000000',
  },
}
SCSS
$custom: #26299b;
$custom-light: #7464ba;
$custom-dark: #000000;
JSON
{
  "hex": "#26299b",
  "rgb": {
    "r": 38,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 238.462,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36824,
    "c": 0.17897,
    "h": 272.3
  },
  "luminance": 0.04365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26299B

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

Preview Lab → · Contrast checker → · Palette generator →

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