#26229A#26229A

#26229A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.185 H 273.3°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#26229A
RGBrgb(38, 34, 154)
HSLhsl(242, 64%, 37%)
HSVhsv(242, 78%, 60%)
CMYKcmyk(75.3%, 77.9%, 0%, 39.6%)
CIE-LABlab(23.30, 42.19, -63.72)
CIE-LCHlch(23.30, 76.42, 303.51°)
OKLaboklab(35.7% 0.0105 -0.1844)
OKLCHoklch(35.7% 0.185 273.3)
XYZxyz(7.2021, 3.8885, 30.9366)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26229A #969A22
analogous
#225A9A #26229A #62229A
triadic
#26229A #9A2622 #229A26
tetradic
#26229A #9A225A #969A22 #229A62
square
#26229A #9A225A #969A22 #229A62
split-complementary
#26229A #9A6222 #5A9A22
monochromatic
#0D0C36 #1A1768 #26229A #322DCC #605BDB

Accessibility & contrast

On white

11.81
#26229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#26229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26229A
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26229A#FFFFFF#000000##FFFFFF
##26229A1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9D
Deuteranopia (green-blind)
#003298
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #26229a;
/* rgb */ color: rgb(38, 34, 154);
/* oklch */ color: oklch(35.7% 0.185 273.3);
Tailwind
colors: {
  custom: {
    50: '#745fb9',
    500: '#26229a',
    950: '#000000',
  },
}
SCSS
$custom: #26229a;
$custom-light: #745fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#26229a",
  "rgb": {
    "r": 38,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 242,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.357,
    "c": 0.18469,
    "h": 273.3
  },
  "luminance": 0.03889
}

Semantic roles & 50–950 ramp

primary
#26229A
secondary
#BCBF58
accent
#E741E1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #26229A

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

Preview Lab → · Contrast checker → · Palette generator →

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