#22305E#22305E

#22305E is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.3% C 0.084 H 268.7°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#22305E
RGBrgb(34, 48, 94)
HSLhsl(226, 47%, 25%)
HSVhsv(226, 64%, 37%)
CMYKcmyk(63.8%, 48.9%, 0%, 63.1%)
CIE-LABlab(21.06, 10.25, -29.30)
CIE-LCHlch(21.06, 31.04, 289.29°)
OKLaboklab(32.32% -0.0019 -0.0836)
OKLCHoklch(32.32% 0.084 268.7)
XYZxyz(3.7363, 3.2618, 11.0202)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22305E #5E5022
analogous
#224E5E #22305E #32225E
triadic
#22305E #5E2230 #305E22
tetradic
#22305E #5E224E #5E5022 #225E32
square
#22305E #5E224E #5E5022 #225E32
split-complementary
#22305E #5E3222 #4E5E22
monochromatic
#080B16 #121931 #22305E #32478B #435EB8

Accessibility & contrast

On white

12.71
#22305E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#22305E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22305E
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22305E#FFFFFF#000000##FFFFFF
##22305E1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3560
Deuteranopia (green-blind)
#11305D
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #22305e;
/* rgb */ color: rgb(34, 48, 94);
/* oklch */ color: oklch(32.3% 0.084 268.7);
Tailwind
colors: {
  custom: {
    50: '#63688c',
    500: '#22305e',
    950: '#000000',
  },
}
SCSS
$custom: #22305e;
$custom-light: #63688c;
$custom-dark: #000000;
JSON
{
  "hex": "#22305e",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 94
  },
  "hsl": {
    "h": 226,
    "s": 46.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32321,
    "c": 0.08362,
    "h": 268.7
  },
  "luminance": 0.03262
}

Semantic roles & 50–950 ramp

primary
#22305E
secondary
#92814A
accent
#B751D7
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #22305E

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

Preview Lab → · Contrast checker → · Palette generator →

#22305E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva