#26229B#26229B

#26229B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.186 H 273.2°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#26229B
RGBrgb(38, 34, 155)
HSLhsl(242, 64%, 37%)
HSVhsv(242, 78%, 61%)
CMYKcmyk(75.5%, 78.1%, 0%, 39.2%)
CIE-LABlab(23.41, 42.52, -64.15)
CIE-LCHlch(23.41, 76.96, 303.54°)
OKLaboklab(35.81% 0.0103 -0.1856)
OKLCHoklch(35.81% 0.186 273.2)
XYZxyz(7.2858, 3.9219, 31.3770)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26229B #979B22
analogous
#225B9B #26229B #62229B
triadic
#26229B #9B2622 #229B26
tetradic
#26229B #9B225B #979B22 #229B62
square
#26229B #9B225B #979B22 #229B62
split-complementary
#26229B #9B6222 #5B9B22
monochromatic
#0D0C37 #1A1769 #26229B #322DCD #605CDB

Accessibility & contrast

On white

11.77
#26229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26229B
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26229B#FFFFFF#000000##FFFFFF
##26229B1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9E
Deuteranopia (green-blind)
#003299
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #26229b;
/* rgb */ color: rgb(38, 34, 155);
/* oklch */ color: oklch(35.8% 0.186 273.2);
Tailwind
colors: {
  custom: {
    50: '#755fba',
    500: '#26229b',
    950: '#000000',
  },
}
SCSS
$custom: #26229b;
$custom-light: #755fba;
$custom-dark: #000000;
JSON
{
  "hex": "#26229b",
  "rgb": {
    "r": 38,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 241.983,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35812,
    "c": 0.18592,
    "h": 273.2
  },
  "luminance": 0.03923
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26229B

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

Preview Lab → · Contrast checker → · Palette generator →

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