#22306F#22306F

#22306F is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.110 H 270.1°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#22306F
RGBrgb(34, 48, 111)
HSLhsl(229, 53%, 28%)
HSVhsv(229, 69%, 44%)
CMYKcmyk(69.4%, 56.8%, 0%, 56.5%)
CIE-LABlab(22.31, 16.90, -38.36)
CIE-LCHlch(22.31, 41.91, 293.77°)
OKLaboklab(33.66% 0.0001 -0.1102)
OKLCHoklch(33.66% 0.11 270.1)
XYZxyz(4.5849, 3.6013, 15.4893)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22306F #6F6122
analogous
#22566F #22306F #3A226F
triadic
#22306F #6F2230 #306F22
tetradic
#22306F #6F2256 #6F6122 #226F3A
square
#22306F #6F2256 #6F6122 #226F3A
split-complementary
#22306F #6F3A22 #566F22
monochromatic
#070A17 #141C40 #22306F #30449E #455DC6

Accessibility & contrast

On white

12.21
#22306F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#22306F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22306F
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22306F#FFFFFF#000000##FFFFFF
##22306F1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033971
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #22306f;
/* rgb */ color: rgb(34, 48, 111);
/* oklch */ color: oklch(33.7% 0.110 270.1);
Tailwind
colors: {
  custom: {
    50: '#676899',
    500: '#22306f',
    950: '#000000',
  },
}
SCSS
$custom: #22306f;
$custom-light: #676899;
$custom-dark: #000000;
JSON
{
  "hex": "#22306f",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 229.091,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33661,
    "c": 0.11023,
    "h": 270.1
  },
  "luminance": 0.03602
}

Semantic roles & 50–950 ramp

primary
#22306F
secondary
#A2924A
accent
#C24BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #22306F

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

Preview Lab → · Contrast checker → · Palette generator →

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