#22306D#22306D

#22306D is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.5% C 0.107 H 270.0°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#22306D
RGBrgb(34, 48, 109)
HSLhsl(229, 52%, 28%)
HSVhsv(229, 69%, 43%)
CMYKcmyk(68.8%, 56%, 0%, 57.3%)
CIE-LABlab(22.15, 16.11, -37.32)
CIE-LCHlch(22.15, 40.65, 293.35°)
OKLaboklab(33.5% 0 -0.1072)
OKLCHoklch(33.5% 0.107 270)
XYZxyz(4.4760, 3.5577, 14.9159)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22306D #6D5F22
analogous
#22556D #22306D #39226D
triadic
#22306D #6D2230 #306D22
tetradic
#22306D #6D2255 #6D5F22 #226D39
square
#22306D #6D2255 #6D5F22 #226D39
split-complementary
#22306D #6D3922 #556D22
monochromatic
#070A17 #131B3E #22306D #31459C #455DC5

Accessibility & contrast

On white

12.27
#22306D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22306D
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22306D#FFFFFF#000000##FFFFFF
##22306D1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07396F
Deuteranopia (green-blind)
#00326C
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #22306d;
/* rgb */ color: rgb(34, 48, 109);
/* oklch */ color: oklch(33.5% 0.107 270.0);
Tailwind
colors: {
  custom: {
    50: '#676897',
    500: '#22306d',
    950: '#000000',
  },
}
SCSS
$custom: #22306d;
$custom-light: #676897;
$custom-dark: #000000;
JSON
{
  "hex": "#22306d",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 109
  },
  "hsl": {
    "h": 228.8,
    "s": 52.448,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33495,
    "c": 0.10718,
    "h": 270
  },
  "luminance": 0.03558
}

Semantic roles & 50–950 ramp

primary
#22306D
secondary
#A1904A
accent
#C14CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #22306D

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

Preview Lab → · Contrast checker → · Palette generator →

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