#26229F#26229F

#26229F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.191 H 272.8°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#26229F
RGBrgb(38, 34, 159)
HSLhsl(242, 65%, 38%)
HSVhsv(242, 79%, 62%)
CMYKcmyk(76.1%, 78.6%, 0%, 37.6%)
CIE-LABlab(23.86, 43.84, -65.85)
CIE-LCHlch(23.86, 79.11, 303.65°)
OKLaboklab(36.26% 0.0094 -0.1906)
OKLCHoklch(36.26% 0.191 272.8)
XYZxyz(7.6273, 4.0585, 33.1756)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26229F #9B9F22
analogous
#225C9F #26229F #64229F
triadic
#26229F #9F2622 #229F26
tetradic
#26229F #9F225C #9B9F22 #229F64
square
#26229F #9F225C #9B9F22 #229F64
split-complementary
#26229F #9F6422 #5C9F22
monochromatic
#0E0C3A #1A176D #26229F #322DD1 #635FDD

Accessibility & contrast

On white

11.59
#26229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26229F
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26229F#FFFFFF#000000##FFFFFF
##26229F1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00339D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #26229f;
/* rgb */ color: rgb(38, 34, 159);
/* oklch */ color: oklch(36.3% 0.191 272.8);
Tailwind
colors: {
  custom: {
    50: '#7660bd',
    500: '#26229f',
    950: '#000000',
  },
}
SCSS
$custom: #26229f;
$custom-light: #7660bd;
$custom-dark: #000000;
JSON
{
  "hex": "#26229f",
  "rgb": {
    "r": 38,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 241.92,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36263,
    "c": 0.19079,
    "h": 272.8
  },
  "luminance": 0.04059
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26229F

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

Preview Lab → · Contrast checker → · Palette generator →

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