#22345F#22345F

#22345F is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.4% C 0.080 H 265.2°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#22345F
RGBrgb(34, 52, 95)
HSLhsl(222, 47%, 25%)
HSVhsv(222, 64%, 37%)
CMYKcmyk(64.2%, 45.3%, 0%, 62.7%)
CIE-LABlab(22.38, 7.79, -27.86)
CIE-LCHlch(22.38, 28.93, 285.63°)
OKLaboklab(33.35% -0.0066 -0.0793)
OKLCHoklch(33.35% 0.08 265.2)
XYZxyz(3.9525, 3.6220, 11.3151)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22345F #5F4D22
analogous
#22525F #22345F #2E225F
triadic
#22345F #5F2234 #345F22
tetradic
#22345F #5F2252 #5F4D22 #225F2E
square
#22345F #5F2252 #5F4D22 #225F2E
split-complementary
#22345F #5F2E22 #525F22
monochromatic
#080C17 #121B32 #22345F #324D8C #4265B9

Accessibility & contrast

On white

12.18
#22345F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#22345F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22345F
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22345F#FFFFFF#000000##FFFFFF
##22345F1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213861
Deuteranopia (green-blind)
#18335E
Tritanopia (blue-blind)
#003E44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #22345f;
/* rgb */ color: rgb(34, 52, 95);
/* oklch */ color: oklch(33.4% 0.080 265.2);
Tailwind
colors: {
  custom: {
    50: '#636b8d',
    500: '#22345f',
    950: '#000000',
  },
}
SCSS
$custom: #22345f;
$custom-light: #636b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#22345f",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 95
  },
  "hsl": {
    "h": 222.295,
    "s": 47.287,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33352,
    "c": 0.07957,
    "h": 265.2
  },
  "luminance": 0.03622
}

Semantic roles & 50–950 ramp

primary
#22345F
secondary
#937D4A
accent
#AF51D7
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #22345F

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

Preview Lab → · Contrast checker → · Palette generator →

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