#22378F#22378F

#22378F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.148 H 268.1°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#22378F
RGBrgb(34, 55, 143)
HSLhsl(228, 62%, 35%)
HSVhsv(228, 76%, 56%)
CMYKcmyk(76.2%, 61.5%, 0%, 43.9%)
CIE-LABlab(26.89, 24.53, -51.06)
CIE-LCHlch(26.89, 56.65, 295.66°)
OKLaboklab(37.92% -0.0048 -0.1475)
OKLCHoklch(37.92% 0.148 268.1)
XYZxyz(6.9821, 5.0549, 26.5890)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22378F #8F7A22
analogous
#226E8F #22378F #43228F
triadic
#22378F #8F2237 #378F22
tetradic
#22378F #8F226E #8F7A22 #228F43
square
#22378F #8F226E #8F7A22 #228F43
split-complementary
#22378F #8F4322 #6E8F22
monochromatic
#0A112C #16245E #22378F #2E4AC0 #556ED7

Accessibility & contrast

On white

10.44
#22378F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#22378F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22378F
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22378F#FFFFFF#000000##FFFFFF
##22378F1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #22378f;
/* rgb */ color: rgb(34, 55, 143);
/* oklch */ color: oklch(37.9% 0.148 268.1);
Tailwind
colors: {
  custom: {
    50: '#6e6db1',
    500: '#22378f',
    950: '#000000',
  },
}
SCSS
$custom: #22378f;
$custom-light: #6e6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#22378f",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 228.44,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37915,
    "c": 0.14754,
    "h": 268.1
  },
  "luminance": 0.05056
}

Semantic roles & 50–950 ramp

primary
#22378F
secondary
#BAA652
accent
#C643E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #22378F

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

Preview Lab → · Contrast checker → · Palette generator →

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