#22385E#22385E

#22385E is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.3% C 0.073 H 260.7°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#22385E
RGBrgb(34, 56, 94)
HSLhsl(218, 47%, 25%)
HSVhsv(218, 64%, 37%)
CMYKcmyk(63.8%, 40.4%, 0%, 63.1%)
CIE-LABlab(23.59, 4.60, -25.28)
CIE-LCHlch(23.59, 25.69, 280.32°)
OKLaboklab(34.27% -0.0117 -0.0717)
OKLCHoklch(34.27% 0.073 260.7)
XYZxyz(4.0935, 3.9762, 11.1393)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22385E #5E4822
analogous
#22565E #22385E #2A225E
triadic
#22385E #5E2238 #385E22
tetradic
#22385E #5E2256 #5E4822 #225E2A
square
#22385E #5E2256 #5E4822 #225E2A
split-complementary
#22385E #5E2A22 #565E22
monochromatic
#080D16 #121D31 #22385E #32538B #436EB8

Accessibility & contrast

On white

11.70
#22385E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#22385E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22385E
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22385E#FFFFFF#000000##FFFFFF
##22385E1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283B60
Deuteranopia (green-blind)
#20365D
Tritanopia (blue-blind)
#004146
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #22385e;
/* rgb */ color: rgb(34, 56, 94);
/* oklch */ color: oklch(34.3% 0.073 260.7);
Tailwind
colors: {
  custom: {
    50: '#636e8c',
    500: '#22385e',
    950: '#000000',
  },
}
SCSS
$custom: #22385e;
$custom-light: #636e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#22385e",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 94
  },
  "hsl": {
    "h": 218,
    "s": 46.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34269,
    "c": 0.07265,
    "h": 260.7
  },
  "luminance": 0.03977
}

Semantic roles & 50–950 ramp

primary
#22385E
secondary
#92784A
accent
#A651D7
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #22385E

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

Preview Lab → · Contrast checker → · Palette generator →

#22385E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva