#22385F#22385F

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

Color values

HEX#22385F
RGBrgb(34, 56, 95)
HSLhsl(218, 47%, 25%)
HSVhsv(218, 64%, 37%)
CMYKcmyk(64.2%, 41.1%, 0%, 62.7%)
CIE-LABlab(23.65, 4.99, -25.83)
CIE-LCHlch(23.65, 26.31, 280.93°)
OKLaboklab(34.34% -0.0115 -0.0733)
OKLCHoklch(34.34% 0.074 261.1)
XYZxyz(4.1387, 3.9943, 11.3771)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22385F #5F4922
analogous
#22565F #22385F #2B225F
triadic
#22385F #5F2238 #385F22
tetradic
#22385F #5F2256 #5F4922 #225F2B
square
#22385F #5F2256 #5F4922 #225F2B
split-complementary
#22385F #5F2B22 #565F22
monochromatic
#080D17 #121D32 #22385F #32538C #426DB9

Accessibility & contrast

On white

11.67
#22385F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22385F
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22385F#FFFFFF#000000##FFFFFF
##22385F1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273B61
Deuteranopia (green-blind)
#1F365E
Tritanopia (blue-blind)
#004147
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #22385f;
/* rgb */ color: rgb(34, 56, 95);
/* oklch */ color: oklch(34.3% 0.074 261.1);
Tailwind
colors: {
  custom: {
    50: '#636e8c',
    500: '#22385f',
    950: '#000000',
  },
}
SCSS
$custom: #22385f;
$custom-light: #636e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#22385f",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 95
  },
  "hsl": {
    "h": 218.361,
    "s": 47.287,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34335,
    "c": 0.07421,
    "h": 261.1
  },
  "luminance": 0.03995
}

Semantic roles & 50–950 ramp

primary
#22385F
secondary
#93794A
accent
#A751D7
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #22385F

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

Preview Lab → · Contrast checker → · Palette generator →

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