#22306E#22306E

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

Color values

HEX#22306E
RGBrgb(34, 48, 110)
HSLhsl(229, 53%, 28%)
HSVhsv(229, 69%, 43%)
CMYKcmyk(69.1%, 56.4%, 0%, 56.9%)
CIE-LABlab(22.23, 16.50, -37.84)
CIE-LCHlch(22.23, 41.28, 293.56°)
OKLaboklab(33.58% 0 -0.1087)
OKLCHoklch(33.58% 0.109 270)
XYZxyz(4.5302, 3.5794, 15.2010)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22306E #6E6022
analogous
#22566E #22306E #3A226E
triadic
#22306E #6E2230 #306E22
tetradic
#22306E #6E2256 #6E6022 #226E3A
square
#22306E #6E2256 #6E6022 #226E3A
split-complementary
#22306E #6E3A22 #566E22
monochromatic
#070A17 #141C3F #22306E #30449D #455DC5

Accessibility & contrast

On white

12.24
#22306E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22306E
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22306E#FFFFFF#000000##FFFFFF
##22306E1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22306e;
/* rgb */ color: rgb(34, 48, 110);
/* oklch */ color: oklch(33.6% 0.109 270.0);
Tailwind
colors: {
  custom: {
    50: '#676898',
    500: '#22306e',
    950: '#000000',
  },
}
SCSS
$custom: #22306e;
$custom-light: #676898;
$custom-dark: #000000;
JSON
{
  "hex": "#22306e",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 110
  },
  "hsl": {
    "h": 228.947,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33578,
    "c": 0.10871,
    "h": 270
  },
  "luminance": 0.0358
}

Semantic roles & 50–950 ramp

primary
#22306E
secondary
#A1914A
accent
#C24CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #22306E

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

Preview Lab → · Contrast checker → · Palette generator →

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