#22265D#22265D

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

Color values

HEX#22265D
RGBrgb(34, 38, 93)
HSLhsl(236, 46%, 25%)
HSVhsv(236, 63%, 36%)
CMYKcmyk(63.4%, 59.1%, 0%, 63.5%)
CIE-LABlab(17.99, 17.05, -33.58)
CIE-LCHlch(17.99, 37.66, 296.92°)
OKLaboklab(29.98% 0.0097 -0.0963)
OKLCHoklch(29.98% 0.097 275.8)
XYZxyz(3.3279, 2.5164, 10.6641)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22265D #5D5922
analogous
#22445D #22265D #3B225D
triadic
#22265D #5D2226 #265D22
tetradic
#22265D #5D2244 #5D5922 #225D3B
square
#22265D #5D2244 #5D5922 #225D3B
split-complementary
#22265D #5D3B22 #445D22
monochromatic
#080916 #121430 #22265D #32388A #434BB7

Accessibility & contrast

On white

13.97
#22265D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22265D
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22265D#FFFFFF#000000##FFFFFF
##22265D1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012F5F
Deuteranopia (green-blind)
#002A5C
Tritanopia (blue-blind)
#00333D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #22265d;
/* rgb */ color: rgb(34, 38, 93);
/* oklch */ color: oklch(30.0% 0.097 275.8);
Tailwind
colors: {
  custom: {
    50: '#64608b',
    500: '#22265d',
    950: '#000000',
  },
}
SCSS
$custom: #22265d;
$custom-light: #64608b;
$custom-dark: #000000;
JSON
{
  "hex": "#22265d",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 93
  },
  "hsl": {
    "h": 235.932,
    "s": 46.457,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29975,
    "c": 0.0968,
    "h": 275.8
  },
  "luminance": 0.02517
}

Semantic roles & 50–950 ramp

primary
#22265D
secondary
#918C4A
accent
#CD52D6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #22265D

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

Preview Lab → · Contrast checker → · Palette generator →

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