#26229C#26229C

#26229C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.187 H 273.1°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#26229C
RGBrgb(38, 34, 156)
HSLhsl(242, 64%, 37%)
HSVhsv(242, 78%, 61%)
CMYKcmyk(75.6%, 78.2%, 0%, 38.8%)
CIE-LABlab(23.52, 42.85, -64.58)
CIE-LCHlch(23.52, 77.50, 303.57°)
OKLaboklab(35.93% 0.0101 -0.1869)
OKLCHoklch(35.93% 0.187 273.1)
XYZxyz(7.3701, 3.9557, 31.8211)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26229C #989C22
analogous
#225B9C #26229C #63229C
triadic
#26229C #9C2622 #229C26
tetradic
#26229C #9C225B #989C22 #229C63
square
#26229C #9C225B #989C22 #229C63
split-complementary
#26229C #9C6322 #5B9C22
monochromatic
#0E0C38 #1A176A #26229C #322DCE #615DDC

Accessibility & contrast

On white

11.72
#26229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#26229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26229C
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26229C#FFFFFF#000000##FFFFFF
##26229C1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00329A
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #26229c;
/* rgb */ color: rgb(38, 34, 156);
/* oklch */ color: oklch(35.9% 0.187 273.1);
Tailwind
colors: {
  custom: {
    50: '#755fba',
    500: '#26229c',
    950: '#000000',
  },
}
SCSS
$custom: #26229c;
$custom-light: #755fba;
$custom-dark: #000000;
JSON
{
  "hex": "#26229c",
  "rgb": {
    "r": 38,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 241.967,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.35925,
    "c": 0.18714,
    "h": 273.1
  },
  "luminance": 0.03956
}

Semantic roles & 50–950 ramp

primary
#26229C
secondary
#BDC05A
accent
#E741E2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #26229C

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

Preview Lab → · Contrast checker → · Palette generator →

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