#22265C#22265C

#22265C is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.9% C 0.095 H 275.8°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#22265C
RGBrgb(34, 38, 92)
HSLhsl(236, 46%, 25%)
HSVhsv(236, 63%, 36%)
CMYKcmyk(63%, 58.7%, 0%, 63.9%)
CIE-LABlab(17.91, 16.67, -33.05)
CIE-LCHlch(17.91, 37.01, 296.77°)
OKLaboklab(29.89% 0.0097 -0.0947)
OKLCHoklch(29.89% 0.095 275.8)
XYZxyz(3.2839, 2.4988, 10.4324)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22265C #5C5822
analogous
#22435C #22265C #3B225C
triadic
#22265C #5C2226 #265C22
tetradic
#22265C #5C2243 #5C5822 #225C3B
square
#22265C #5C2243 #5C5822 #225C3B
split-complementary
#22265C #5C3B22 #435C22
monochromatic
#080916 #11142F #22265C #333889 #434BB5

Accessibility & contrast

On white

14.00
#22265C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#22265C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22265C
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22265C#FFFFFF#000000##FFFFFF
##22265C1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032E5E
Deuteranopia (green-blind)
#00295B
Tritanopia (blue-blind)
#00333D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #22265c;
/* rgb */ color: rgb(34, 38, 92);
/* oklch */ color: oklch(29.9% 0.095 275.8);
Tailwind
colors: {
  custom: {
    50: '#64608b',
    500: '#22265c',
    950: '#000000',
  },
}
SCSS
$custom: #22265c;
$custom-light: #64608b;
$custom-dark: #000000;
JSON
{
  "hex": "#22265c",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 92
  },
  "hsl": {
    "h": 235.862,
    "s": 46.032,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29891,
    "c": 0.09522,
    "h": 275.8
  },
  "luminance": 0.02499
}

Semantic roles & 50–950 ramp

primary
#22265C
secondary
#908B4A
accent
#CD52D6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #22265C

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

Preview Lab → · Contrast checker → · Palette generator →

#22265C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva