#22358A#22358A

#22358A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.143 H 268.7°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#22358A
RGBrgb(34, 53, 138)
HSLhsl(229, 60%, 34%)
HSVhsv(229, 75%, 54%)
CMYKcmyk(75.4%, 61.6%, 0%, 45.9%)
CIE-LABlab(25.92, 23.96, -49.54)
CIE-LCHlch(25.92, 55.03, 295.81°)
OKLaboklab(37.06% -0.0033 -0.143)
OKLCHoklch(37.06% 0.143 268.7)
XYZxyz(6.5187, 4.7206, 24.6074)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22358A #8A7722
analogous
#22698A #22358A #43228A
triadic
#22358A #8A2235 #358A22
tetradic
#22358A #8A2269 #8A7722 #228A43
square
#22358A #8A2269 #8A7722 #228A43
split-complementary
#22358A #8A4322 #698A22
monochromatic
#0A0F28 #162259 #22358A #2E48BB #526AD4

Accessibility & contrast

On white

10.80
#22358A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#22358A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22358A
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22358A#FFFFFF#000000##FFFFFF
##22358A1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #22358a;
/* rgb */ color: rgb(34, 53, 138);
/* oklch */ color: oklch(37.1% 0.143 268.7);
Tailwind
colors: {
  custom: {
    50: '#6d6cad',
    500: '#22358a',
    950: '#000000',
  },
}
SCSS
$custom: #22358a;
$custom-light: #6d6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#22358a",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 138
  },
  "hsl": {
    "h": 229.038,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37062,
    "c": 0.14307,
    "h": 268.7
  },
  "luminance": 0.04721
}

Semantic roles & 50–950 ramp

primary
#22358A
secondary
#B8A550
accent
#C644E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #22358A

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

Preview Lab → · Contrast checker → · Palette generator →

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