#222863#222863

#222863 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.103 H 274.3°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#222863
RGBrgb(34, 40, 99)
HSLhsl(234, 49%, 26%)
HSVhsv(234, 66%, 39%)
CMYKcmyk(65.7%, 59.6%, 0%, 61.2%)
CIE-LABlab(19.05, 17.93, -35.84)
CIE-LCHlch(19.05, 40.07, 296.57°)
OKLaboklab(30.92% 0.0077 -0.1029)
OKLCHoklch(30.92% 0.103 274.3)
XYZxyz(3.6699, 2.7582, 12.1410)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222863 #635D22
analogous
#224863 #222863 #3C2263
triadic
#222863 #632228 #286322
tetradic
#222863 #632248 #635D22 #22633C
square
#222863 #632248 #635D22 #22633C
split-complementary
#222863 #633C22 #486322
monochromatic
#080917 #121635 #222863 #323A91 #414DBE

Accessibility & contrast

On white

13.53
#222863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#222863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222863
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222863#FFFFFF#000000##FFFFFF
##2228631.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003165
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#003641
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #222863;
/* rgb */ color: rgb(34, 40, 99);
/* oklch */ color: oklch(30.9% 0.103 274.3);
Tailwind
colors: {
  custom: {
    50: '#656190',
    500: '#222863',
    950: '#000000',
  },
}
SCSS
$custom: #222863;
$custom-light: #656190;
$custom-dark: #000000;
JSON
{
  "hex": "#222863",
  "rgb": {
    "r": 34,
    "g": 40,
    "b": 99
  },
  "hsl": {
    "h": 234.462,
    "s": 48.872,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30917,
    "c": 0.1032,
    "h": 274.3
  },
  "luminance": 0.02759
}

Semantic roles & 50–950 ramp

primary
#222863
secondary
#97904A
accent
#CC4FD8
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #222863

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

Preview Lab → · Contrast checker → · Palette generator →

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