#22283F#22283F

#22283F is a dark, muted blue. Relative luminance 0.022; OKLCH L 28.3% C 0.043 H 272.2°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#22283F
RGBrgb(34, 40, 63)
HSLhsl(228, 30%, 19%)
HSVhsv(228, 46%, 25%)
CMYKcmyk(46%, 36.5%, 0%, 75.3%)
CIE-LABlab(16.58, 4.49, -15.48)
CIE-LCHlch(16.58, 16.12, 286.19°)
OKLaboklab(28.25% 0.0017 -0.0433)
OKLCHoklch(28.25% 0.043 272.2)
XYZxyz(2.3154, 2.2164, 5.0075)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22283F #3F3922
analogous
#22373F #22283F #2B223F
triadic
#22283F #3F2228 #283F22
tetradic
#22283F #3F2237 #3F3922 #223F2B
square
#22283F #3F2237 #3F3922 #223F2B
split-complementary
#22283F #3F2B22 #373F22
monochromatic
#0B0D14 #0D0F17 #22283F #374167 #4D5A8E

Accessibility & contrast

On white

14.55
#22283F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#22283F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22283F
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22283F#FFFFFF#000000##FFFFFF
##22283F1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202A40
Deuteranopia (green-blind)
#1E283E
Tritanopia (blue-blind)
#192D30
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #22283f;
/* rgb */ color: rgb(34, 40, 63);
/* oklch */ color: oklch(28.3% 0.043 272.2);
Tailwind
colors: {
  custom: {
    50: '#5e6174',
    500: '#22283f',
    950: '#000000',
  },
}
SCSS
$custom: #22283f;
$custom-light: #5e6174;
$custom-dark: #000000;
JSON
{
  "hex": "#22283f",
  "rgb": {
    "r": 34,
    "g": 40,
    "b": 63
  },
  "hsl": {
    "h": 227.586,
    "s": 29.897,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28251,
    "c": 0.04332,
    "h": 272.2
  },
  "luminance": 0.02217
}

Semantic roles & 50–950 ramp

primary
#22283F
secondary
#726A4B
accent
#B162C6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040508
muted
#79797B

Preview Lab

Preview with #22283F

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

Preview Lab → · Contrast checker → · Palette generator →

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