#222273#222273

#222273 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.135 H 275.3°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#222273
RGBrgb(34, 34, 115)
HSLhsl(240, 54%, 29%)
HSVhsv(240, 70%, 45%)
CMYKcmyk(70.4%, 70.4%, 0%, 54.9%)
CIE-LABlab(18.89, 28.11, -46.50)
CIE-LCHlch(18.89, 54.33, 301.15°)
OKLaboklab(31.25% 0.0124 -0.1343)
OKLCHoklch(31.25% 0.135 275.3)
XYZxyz(4.3252, 2.7216, 16.5137)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222273 #737322
analogous
#224B73 #222273 #4B2273
triadic
#222273 #732222 #227322
tetradic
#222273 #73224B #737322 #22734B
square
#222273 #73224B #737322 #22734B
split-complementary
#222273 #734B22 #4B7322
monochromatic
#070718 #141444 #222273 #3030A2 #4747C9

Accessibility & contrast

On white

13.60
#222273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#222273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222273
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222273#FFFFFF#000000##FFFFFF
##2222731.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003276
Deuteranopia (green-blind)
#002A71
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #222273;
/* rgb */ color: rgb(34, 34, 115);
/* oklch */ color: oklch(31.2% 0.135 275.3);
Tailwind
colors: {
  custom: {
    50: '#695d9c',
    500: '#222273',
    950: '#000000',
  },
}
SCSS
$custom: #222273;
$custom-light: #695d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#222273",
  "rgb": {
    "r": 34,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 240,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31248,
    "c": 0.13483,
    "h": 275.3
  },
  "luminance": 0.02722
}

Semantic roles & 50–950 ramp

primary
#222273
secondary
#A6A64B
accent
#DE4ADE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #222273

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

Preview Lab → · Contrast checker → · Palette generator →

#222273 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva