#22306C#22306C

#22306C is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.4% C 0.106 H 269.9°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#22306C
RGBrgb(34, 48, 108)
HSLhsl(229, 52%, 28%)
HSVhsv(229, 69%, 42%)
CMYKcmyk(68.5%, 55.6%, 0%, 57.6%)
CIE-LABlab(22.08, 15.72, -36.80)
CIE-LCHlch(22.08, 40.02, 293.13°)
OKLaboklab(33.41% -0.0001 -0.1056)
OKLCHoklch(33.41% 0.106 269.9)
XYZxyz(4.4225, 3.5363, 14.6340)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22306C #6C5E22
analogous
#22556C #22306C #39226C
triadic
#22306C #6C2230 #306C22
tetradic
#22306C #6C2255 #6C5E22 #226C39
square
#22306C #6C2255 #6C5E22 #226C39
split-complementary
#22306C #6C3922 #556C22
monochromatic
#070A17 #131B3D #22306C #31459B #445CC4

Accessibility & contrast

On white

12.30
#22306C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#22306C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22306C
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22306C#FFFFFF#000000##FFFFFF
##22306C1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09386E
Deuteranopia (green-blind)
#00326B
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #22306c;
/* rgb */ color: rgb(34, 48, 108);
/* oklch */ color: oklch(33.4% 0.106 269.9);
Tailwind
colors: {
  custom: {
    50: '#666897',
    500: '#22306c',
    950: '#000000',
  },
}
SCSS
$custom: #22306c;
$custom-light: #666897;
$custom-dark: #000000;
JSON
{
  "hex": "#22306c",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 108
  },
  "hsl": {
    "h": 228.649,
    "s": 52.113,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33413,
    "c": 0.10565,
    "h": 269.9
  },
  "luminance": 0.03537
}

Semantic roles & 50–950 ramp

primary
#22306C
secondary
#A08F4A
accent
#C04CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #22306C

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

Preview Lab → · Contrast checker → · Palette generator →

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