#22305F#22305F

#22305F is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.4% C 0.085 H 268.8°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#22305F
RGBrgb(34, 48, 95)
HSLhsl(226, 47%, 25%)
HSVhsv(226, 64%, 37%)
CMYKcmyk(64.2%, 49.5%, 0%, 62.7%)
CIE-LABlab(21.13, 10.64, -29.85)
CIE-LCHlch(21.13, 31.69, 289.62°)
OKLaboklab(32.4% -0.0018 -0.0852)
OKLCHoklch(32.4% 0.085 268.8)
XYZxyz(3.7815, 3.2799, 11.2581)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22305F #5F5122
analogous
#224E5F #22305F #33225F
triadic
#22305F #5F2230 #305F22
tetradic
#22305F #5F224E #5F5122 #225F33
square
#22305F #5F224E #5F5122 #225F33
split-complementary
#22305F #5F3322 #4E5F22
monochromatic
#080B17 #121932 #22305F #32478C #425EB9

Accessibility & contrast

On white

12.68
#22305F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#22305F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22305F
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22305F#FFFFFF#000000##FFFFFF
##22305F1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3661
Deuteranopia (green-blind)
#10305E
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #22305f;
/* rgb */ color: rgb(34, 48, 95);
/* oklch */ color: oklch(32.4% 0.085 268.8);
Tailwind
colors: {
  custom: {
    50: '#64678d',
    500: '#22305f',
    950: '#000000',
  },
}
SCSS
$custom: #22305f;
$custom-light: #64678d;
$custom-dark: #000000;
JSON
{
  "hex": "#22305f",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 95
  },
  "hsl": {
    "h": 226.23,
    "s": 47.287,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32395,
    "c": 0.08523,
    "h": 268.8
  },
  "luminance": 0.0328
}

Semantic roles & 50–950 ramp

primary
#22305F
secondary
#93824A
accent
#B851D7
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #22305F

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

Preview Lab → · Contrast checker → · Palette generator →

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