#22285D#22285D

#22285D is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.4% C 0.094 H 274.5°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#22285D
RGBrgb(34, 40, 93)
HSLhsl(234, 46%, 25%)
HSVhsv(234, 63%, 36%)
CMYKcmyk(63.4%, 57%, 0%, 63.5%)
CIE-LABlab(18.57, 15.62, -32.64)
CIE-LCHlch(18.57, 36.19, 295.57°)
OKLaboklab(30.41% 0.0074 -0.0935)
OKLCHoklch(30.41% 0.094 274.5)
XYZxyz(3.3936, 2.6477, 10.6860)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22285D #5D5722
analogous
#22465D #22285D #39225D
triadic
#22285D #5D2228 #285D22
tetradic
#22285D #5D2246 #5D5722 #225D39
square
#22285D #5D2246 #5D5722 #225D39
split-complementary
#22285D #5D3922 #465D22
monochromatic
#080A16 #121530 #22285D #323B8A #434FB7

Accessibility & contrast

On white

13.73
#22285D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22285D
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22285D#FFFFFF#000000##FFFFFF
##22285D1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08305F
Deuteranopia (green-blind)
#002B5C
Tritanopia (blue-blind)
#00343E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #22285d;
/* rgb */ color: rgb(34, 40, 93);
/* oklch */ color: oklch(30.4% 0.094 274.5);
Tailwind
colors: {
  custom: {
    50: '#64618b',
    500: '#22285d',
    950: '#000000',
  },
}
SCSS
$custom: #22285d;
$custom-light: #64618b;
$custom-dark: #000000;
JSON
{
  "hex": "#22285d",
  "rgb": {
    "r": 34,
    "g": 40,
    "b": 93
  },
  "hsl": {
    "h": 233.898,
    "s": 46.457,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30411,
    "c": 0.09381,
    "h": 274.5
  },
  "luminance": 0.02648
}

Semantic roles & 50–950 ramp

primary
#22285D
secondary
#918A4A
accent
#C952D6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #22285D

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

Preview Lab → · Contrast checker → · Palette generator →

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