#222583#222583

#222583 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.153 H 273.1°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#222583
RGBrgb(34, 37, 131)
HSLhsl(238, 59%, 32%)
HSVhsv(238, 74%, 51%)
CMYKcmyk(74%, 71.8%, 0%, 48.6%)
CIE-LABlab(21.21, 32.01, -52.88)
CIE-LCHlch(21.21, 61.81, 301.19°)
OKLaboklab(33.41% 0.0082 -0.1529)
OKLCHoklch(33.41% 0.153 273.1)
XYZxyz(5.4166, 3.3014, 21.8201)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222583 #838022
analogous
#225683 #222583 #4F2283
triadic
#222583 #832225 #258322
tetradic
#222583 #832256 #838022 #22834F
square
#222583 #832256 #838022 #22834F
split-complementary
#222583 #834F22 #568322
monochromatic
#090A22 #151752 #222583 #2F33B4 #4E52D1

Accessibility & contrast

On white

12.65
#222583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#222583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222583
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222583#FFFFFF#000000##FFFFFF
##2225831.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#002E81
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #222583;
/* rgb */ color: rgb(34, 37, 131);
/* oklch */ color: oklch(33.4% 0.153 273.1);
Tailwind
colors: {
  custom: {
    50: '#6d60a8',
    500: '#222583',
    950: '#000000',
  },
}
SCSS
$custom: #222583;
$custom-light: #6d60a8;
$custom-dark: #000000;
JSON
{
  "hex": "#222583",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 131
  },
  "hsl": {
    "h": 238.144,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33411,
    "c": 0.15313,
    "h": 273.1
  },
  "luminance": 0.03302
}

Semantic roles & 50–950 ramp

primary
#222583
secondary
#B4B14C
accent
#DD46E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #222583

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

Preview Lab → · Contrast checker → · Palette generator →

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