#26229D#26229D

#26229D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.188 H 273.0°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#26229D
RGBrgb(38, 34, 157)
HSLhsl(242, 64%, 37%)
HSVhsv(242, 78%, 62%)
CMYKcmyk(75.8%, 78.3%, 0%, 38.4%)
CIE-LABlab(23.64, 43.18, -65.00)
CIE-LCHlch(23.64, 78.04, 303.59°)
OKLaboklab(36.04% 0.0099 -0.1881)
OKLCHoklch(36.04% 0.188 273)
XYZxyz(7.4551, 3.9897, 32.2689)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26229D #999D22
analogous
#225C9D #26229D #63229D
triadic
#26229D #9D2622 #229D26
tetradic
#26229D #9D225C #999D22 #229D63
square
#26229D #9D225C #999D22 #229D63
split-complementary
#26229D #9D6322 #5C9D22
monochromatic
#0E0C38 #1A176B #26229D #322DCF #625DDC

Accessibility & contrast

On white

11.68
#26229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#26229D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26229D
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26229D#FFFFFF#000000##FFFFFF
##26229D1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00329B
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #26229d;
/* rgb */ color: rgb(38, 34, 157);
/* oklch */ color: oklch(36.0% 0.188 273.0);
Tailwind
colors: {
  custom: {
    50: '#7560bb',
    500: '#26229d',
    950: '#000000',
  },
}
SCSS
$custom: #26229d;
$custom-light: #7560bb;
$custom-dark: #000000;
JSON
{
  "hex": "#26229d",
  "rgb": {
    "r": 38,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 241.951,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36037,
    "c": 0.18836,
    "h": 273
  },
  "luminance": 0.0399
}

Semantic roles & 50–950 ramp

primary
#26229D
secondary
#BDC15A
accent
#E740E2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #26229D

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

Preview Lab → · Contrast checker → · Palette generator →

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