#222365#222365

#222365 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.1% C 0.113 H 276.5°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#222365
RGBrgb(34, 35, 101)
HSLhsl(239, 50%, 26%)
HSVhsv(239, 66%, 40%)
CMYKcmyk(66.3%, 65.3%, 0%, 60.4%)
CIE-LABlab(17.83, 22.22, -39.12)
CIE-LCHlch(17.83, 44.99, 299.59°)
OKLaboklab(30.07% 0.0128 -0.1126)
OKLCHoklch(30.07% 0.113 276.5)
XYZxyz(3.6089, 2.4814, 12.5982)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222365 #656422
analogous
#224565 #222365 #432265
triadic
#222365 #652223 #236522
tetradic
#222365 #652245 #656422 #226543
square
#222365 #652245 #656422 #226543
split-complementary
#222365 #654322 #456522
monochromatic
#080817 #131337 #222365 #313393 #4244BF

Accessibility & contrast

On white

14.03
#222365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#222365 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222365
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222365#FFFFFF#000000##FFFFFF
##2223651.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#002964
Tritanopia (blue-blind)
#003340
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #222365;
/* rgb */ color: rgb(34, 35, 101);
/* oklch */ color: oklch(30.1% 0.113 276.5);
Tailwind
colors: {
  custom: {
    50: '#665e91',
    500: '#222365',
    950: '#000000',
  },
}
SCSS
$custom: #222365;
$custom-light: #665e91;
$custom-dark: #000000;
JSON
{
  "hex": "#222365",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 101
  },
  "hsl": {
    "h": 239.104,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30071,
    "c": 0.11336,
    "h": 276.5
  },
  "luminance": 0.02482
}

Semantic roles & 50–950 ramp

primary
#222365
secondary
#99984A
accent
#D74FD9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #222365

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

Preview Lab → · Contrast checker → · Palette generator →

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