#22268D#22268D

#22268D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.165 H 272.1°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#22268D
RGBrgb(34, 38, 141)
HSLhsl(238, 61%, 34%)
HSVhsv(238, 76%, 55%)
CMYKcmyk(75.9%, 73%, 0%, 44.7%)
CIE-LABlab(22.47, 34.99, -57.06)
CIE-LCHlch(22.47, 66.94, 301.52°)
OKLaboklab(34.63% 0.0062 -0.1651)
OKLCHoklch(34.63% 0.165 272.1)
XYZxyz(6.1589, 3.6488, 25.5738)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22268D #8D8922
analogous
#225C8D #22268D #54228D
triadic
#22268D #8D2226 #268D22
tetradic
#22268D #8D225C #8D8922 #228D54
square
#22268D #8D225C #8D8922 #228D54
split-complementary
#22268D #8D5422 #5C8D22
monochromatic
#0A0B2A #16195C #22268D #2E33BE #5459D6

Accessibility & contrast

On white

12.14
#22268D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#22268D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22268D
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22268D#FFFFFF#000000##FFFFFF
##22268D1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00318B
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #22268d;
/* rgb */ color: rgb(34, 38, 141);
/* oklch */ color: oklch(34.6% 0.165 272.1);
Tailwind
colors: {
  custom: {
    50: '#6f61af',
    500: '#22268d',
    950: '#000000',
  },
}
SCSS
$custom: #22268d;
$custom-light: #6f61af;
$custom-dark: #000000;
JSON
{
  "hex": "#22268d",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 237.757,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34629,
    "c": 0.16523,
    "h": 272.1
  },
  "luminance": 0.03649
}

Semantic roles & 50–950 ramp

primary
#22268D
secondary
#B9B651
accent
#DE44E4
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #22268D

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

Preview Lab → · Contrast checker → · Palette generator →

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