#22345C#22345C

#22345C is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.1% C 0.075 H 264.4°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#22345C
RGBrgb(34, 52, 92)
HSLhsl(221, 46%, 25%)
HSVhsv(221, 63%, 36%)
CMYKcmyk(63%, 43.5%, 0%, 63.9%)
CIE-LABlab(22.19, 6.64, -26.19)
CIE-LCHlch(22.19, 27.02, 284.22°)
OKLaboklab(33.14% -0.0073 -0.0744)
OKLCHoklch(33.14% 0.075 264.4)
XYZxyz(3.8188, 3.5685, 10.6107)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22345C #5C4A22
analogous
#22515C #22345C #2D225C
triadic
#22345C #5C2234 #345C22
tetradic
#22345C #5C2251 #5C4A22 #225C2D
square
#22345C #5C2251 #5C4A22 #225C2D
split-complementary
#22345C #5C2D22 #515C22
monochromatic
#080D16 #111B2F #22345C #334D89 #4367B5

Accessibility & contrast

On white

12.25
#22345C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22345C
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22345C#FFFFFF#000000##FFFFFF
##22345C1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23385E
Deuteranopia (green-blind)
#1B335B
Tritanopia (blue-blind)
#003D43
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #22345c;
/* rgb */ color: rgb(34, 52, 92);
/* oklch */ color: oklch(33.1% 0.075 264.4);
Tailwind
colors: {
  custom: {
    50: '#636b8a',
    500: '#22345c',
    950: '#000000',
  },
}
SCSS
$custom: #22345c;
$custom-light: #636b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#22345c",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 92
  },
  "hsl": {
    "h": 221.379,
    "s": 46.032,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33144,
    "c": 0.07476,
    "h": 264.4
  },
  "luminance": 0.03569
}

Semantic roles & 50–950 ramp

primary
#22345C
secondary
#907A4A
accent
#AD52D6
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #22345C

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

Preview Lab → · Contrast checker → · Palette generator →

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