#22285E#22285E

#22285E is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.095 H 274.5°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#22285E
RGBrgb(34, 40, 94)
HSLhsl(234, 47%, 25%)
HSVhsv(234, 64%, 37%)
CMYKcmyk(63.8%, 57.4%, 0%, 63.1%)
CIE-LABlab(18.65, 16.00, -33.18)
CIE-LCHlch(18.65, 36.84, 295.75°)
OKLaboklab(30.49% 0.0075 -0.0951)
OKLCHoklch(30.49% 0.095 274.5)
XYZxyz(3.4382, 2.6656, 10.9208)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22285E #5E5822
analogous
#22465E #22285E #3A225E
triadic
#22285E #5E2228 #285E22
tetradic
#22285E #5E2246 #5E5822 #225E3A
square
#22285E #5E2246 #5E5822 #225E3A
split-complementary
#22285E #5E3A22 #465E22
monochromatic
#080A16 #121531 #22285E #323B8B #434EB8

Accessibility & contrast

On white

13.70
#22285E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#22285E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22285E
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22285E#FFFFFF#000000##FFFFFF
##22285E1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063060
Deuteranopia (green-blind)
#002B5D
Tritanopia (blue-blind)
#00353E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #22285e;
/* rgb */ color: rgb(34, 40, 94);
/* oklch */ color: oklch(30.5% 0.095 274.5);
Tailwind
colors: {
  custom: {
    50: '#64618c',
    500: '#22285e',
    950: '#000000',
  },
}
SCSS
$custom: #22285e;
$custom-light: #64618c;
$custom-dark: #000000;
JSON
{
  "hex": "#22285e",
  "rgb": {
    "r": 34,
    "g": 40,
    "b": 94
  },
  "hsl": {
    "h": 234,
    "s": 46.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30494,
    "c": 0.09539,
    "h": 274.5
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#22285E
secondary
#928B4A
accent
#C951D7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #22285E

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

Preview Lab → · Contrast checker → · Palette generator →

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