#22335F#22335F

#22335F is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.1% C 0.081 H 266.2°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#22335F
RGBrgb(34, 51, 95)
HSLhsl(223, 47%, 25%)
HSVhsv(223, 64%, 37%)
CMYKcmyk(64.2%, 46.3%, 0%, 62.7%)
CIE-LABlab(22.07, 8.50, -28.36)
CIE-LCHlch(22.07, 29.61, 286.69°)
OKLaboklab(33.11% -0.0054 -0.0808)
OKLCHoklch(33.11% 0.081 266.2)
XYZxyz(3.9084, 3.5336, 11.3003)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22335F #5F4E22
analogous
#22515F #22335F #30225F
triadic
#22335F #5F2233 #335F22
tetradic
#22335F #5F2251 #5F4E22 #225F30
square
#22335F #5F2251 #5F4E22 #225F30
split-complementary
#22335F #5F3022 #515F22
monochromatic
#080C17 #121B32 #22335F #324B8C #4263B9

Accessibility & contrast

On white

12.30
#22335F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#22335F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22335F
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22335F#FFFFFF#000000##FFFFFF
##22335F1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3861
Deuteranopia (green-blind)
#16325E
Tritanopia (blue-blind)
#003D44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #22335f;
/* rgb */ color: rgb(34, 51, 95);
/* oklch */ color: oklch(33.1% 0.081 266.2);
Tailwind
colors: {
  custom: {
    50: '#636a8d',
    500: '#22335f',
    950: '#000000',
  },
}
SCSS
$custom: #22335f;
$custom-light: #636a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#22335f",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 95
  },
  "hsl": {
    "h": 223.279,
    "s": 47.287,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3311,
    "c": 0.08096,
    "h": 266.2
  },
  "luminance": 0.03534
}

Semantic roles & 50–950 ramp

primary
#22335F
secondary
#937F4A
accent
#B251D7
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #22335F

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

Preview Lab → · Contrast checker → · Palette generator →

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