#26299A#26299A

#26299A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.178 H 272.3°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#26299A
RGBrgb(38, 41, 154)
HSLhsl(238, 60%, 38%)
HSVhsv(238, 75%, 60%)
CMYKcmyk(75.3%, 73.4%, 0%, 39.6%)
CIE-LABlab(24.73, 38.14, -61.35)
CIE-LCHlch(24.73, 72.24, 301.87°)
OKLaboklab(36.72% 0.0072 -0.1776)
OKLCHoklch(36.72% 0.178 272.3)
XYZxyz(7.4230, 4.3303, 31.0102)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26299A #9A9726
analogous
#26639A #26299A #5D269A
triadic
#26299A #9A2629 #299A26
tetradic
#26299A #9A2663 #9A9726 #269A5D
square
#26299A #9A2663 #9A9726 #269A5D
split-complementary
#26299A #9A5D26 #639A26
monochromatic
#0E0F38 #1A1C69 #26299A #3236CB #6265D8

Accessibility & contrast

On white

11.25
#26299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26299A
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26299A#FFFFFF#000000##FFFFFF
##26299A1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003598
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #26299a;
/* rgb */ color: rgb(38, 41, 154);
/* oklch */ color: oklch(36.7% 0.178 272.3);
Tailwind
colors: {
  custom: {
    50: '#7464b9',
    500: '#26299a',
    950: '#000000',
  },
}
SCSS
$custom: #26299a;
$custom-light: #7464b9;
$custom-dark: #000000;
JSON
{
  "hex": "#26299a",
  "rgb": {
    "r": 38,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 238.448,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36718,
    "c": 0.1777,
    "h": 272.3
  },
  "luminance": 0.04331
}

Semantic roles & 50–950 ramp

primary
#26299A
secondary
#BEBB5E
accent
#DF44E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #26299A

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

Preview Lab → · Contrast checker → · Palette generator →

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