#22306A#22306A

#22306A is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.3% C 0.103 H 269.8°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#22306A
RGBrgb(34, 48, 106)
HSLhsl(228, 51%, 27%)
HSVhsv(228, 68%, 42%)
CMYKcmyk(67.9%, 54.7%, 0%, 58.4%)
CIE-LABlab(21.92, 14.94, -35.75)
CIE-LCHlch(21.92, 38.75, 292.68°)
OKLaboklab(33.25% -0.0003 -0.1026)
OKLCHoklch(33.25% 0.103 269.8)
XYZxyz(4.3173, 3.4942, 14.0798)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22306A #6A5C22
analogous
#22546A #22306A #38226A
triadic
#22306A #6A2230 #306A22
tetradic
#22306A #6A2254 #6A5C22 #226A38
square
#22306A #6A2254 #6A5C22 #226A38
split-complementary
#22306A #6A3822 #546A22
monochromatic
#070A17 #131B3C #22306A #314598 #445CC3

Accessibility & contrast

On white

12.36
#22306A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#22306A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22306A
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22306A#FFFFFF#000000##FFFFFF
##22306A1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D386C
Deuteranopia (green-blind)
#003169
Tritanopia (blue-blind)
#003E48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #22306a;
/* rgb */ color: rgb(34, 48, 106);
/* oklch */ color: oklch(33.3% 0.103 269.8);
Tailwind
colors: {
  custom: {
    50: '#666895',
    500: '#22306a',
    950: '#000000',
  },
}
SCSS
$custom: #22306a;
$custom-light: #666895;
$custom-dark: #000000;
JSON
{
  "hex": "#22306a",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 106
  },
  "hsl": {
    "h": 228.333,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3325,
    "c": 0.10256,
    "h": 269.8
  },
  "luminance": 0.03495
}

Semantic roles & 50–950 ramp

primary
#22306A
secondary
#9E8D4A
accent
#BF4DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #22306A

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

Preview Lab → · Contrast checker → · Palette generator →

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