#26229E#26229E

#26229E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.190 H 272.9°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#26229E
RGBrgb(38, 34, 158)
HSLhsl(242, 65%, 38%)
HSVhsv(242, 78%, 62%)
CMYKcmyk(75.9%, 78.5%, 0%, 38%)
CIE-LABlab(23.75, 43.51, -65.43)
CIE-LCHlch(23.75, 78.57, 303.62°)
OKLaboklab(36.15% 0.0097 -0.1893)
OKLCHoklch(36.15% 0.19 272.9)
XYZxyz(7.5408, 4.0240, 32.7204)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26229E #9A9E22
analogous
#225C9E #26229E #64229E
triadic
#26229E #9E2622 #229E26
tetradic
#26229E #9E225C #9A9E22 #229E64
square
#26229E #9E225C #9A9E22 #229E64
split-complementary
#26229E #9E6422 #5C9E22
monochromatic
#0E0C39 #1A176C #26229E #322DD0 #625EDC

Accessibility & contrast

On white

11.63
#26229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#26229E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26229E
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26229E#FFFFFF#000000##FFFFFF
##26229E1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA1
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #26229e;
/* rgb */ color: rgb(38, 34, 158);
/* oklch */ color: oklch(36.1% 0.190 272.9);
Tailwind
colors: {
  custom: {
    50: '#7560bc',
    500: '#26229e',
    950: '#000000',
  },
}
SCSS
$custom: #26229e;
$custom-light: #7560bc;
$custom-dark: #000000;
JSON
{
  "hex": "#26229e",
  "rgb": {
    "r": 38,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 241.935,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3615,
    "c": 0.18958,
    "h": 272.9
  },
  "luminance": 0.04025
}

Semantic roles & 50–950 ramp

primary
#26229E
secondary
#BEC15B
accent
#E840E2
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #26229E

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

Preview Lab → · Contrast checker → · Palette generator →

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