#22305B#22305B

#22305B is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.079 H 268.2°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#22305B
RGBrgb(34, 48, 91)
HSLhsl(225, 46%, 25%)
HSVhsv(225, 63%, 36%)
CMYKcmyk(62.6%, 47.3%, 0%, 64.3%)
CIE-LABlab(20.86, 9.09, -27.65)
CIE-LCHlch(20.86, 29.10, 288.21°)
OKLaboklab(32.1% -0.0025 -0.0787)
OKLCHoklch(32.1% 0.079 268.2)
XYZxyz(3.6043, 3.2090, 10.3250)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22305B #5B4D22
analogous
#224D5B #22305B #31225B
triadic
#22305B #5B2230 #305B22
tetradic
#22305B #5B224D #5B4D22 #225B31
square
#22305B #5B224D #5B4D22 #225B31
split-complementary
#22305B #5B3122 #4D5B22
monochromatic
#080C16 #11182E #22305B #334888 #435FB4

Accessibility & contrast

On white

12.79
#22305B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#22305B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22305B
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22305B#FFFFFF#000000##FFFFFF
##22305B1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D355D
Deuteranopia (green-blind)
#15305A
Tritanopia (blue-blind)
#003A41
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #22305b;
/* rgb */ color: rgb(34, 48, 91);
/* oklch */ color: oklch(32.1% 0.079 268.2);
Tailwind
colors: {
  custom: {
    50: '#63688a',
    500: '#22305b',
    950: '#000000',
  },
}
SCSS
$custom: #22305b;
$custom-light: #63688a;
$custom-dark: #000000;
JSON
{
  "hex": "#22305b",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 91
  },
  "hsl": {
    "h": 225.263,
    "s": 45.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32102,
    "c": 0.07877,
    "h": 268.2
  },
  "luminance": 0.03209
}

Semantic roles & 50–950 ramp

primary
#22305B
secondary
#8F7E4A
accent
#B553D5
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060B
muted
#7A7A7C

Preview Lab

Preview with #22305B

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

Preview Lab → · Contrast checker → · Palette generator →

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