#222F66#222F66

#222F66 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.098 H 270.2°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#222F66
RGBrgb(34, 47, 102)
HSLhsl(229, 50%, 27%)
HSVhsv(229, 67%, 40%)
CMYKcmyk(66.7%, 53.9%, 0%, 60%)
CIE-LABlab(21.33, 14.08, -34.11)
CIE-LCHlch(21.33, 36.91, 292.43°)
OKLaboklab(32.7% 0.0003 -0.0978)
OKLCHoklch(32.7% 0.098 270.2)
XYZxyz(4.0737, 3.3321, 12.9963)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F66 #665922
analogous
#225166 #222F66 #372266
triadic
#222F66 #66222F #2F6622
tetradic
#222F66 #662251 #665922 #226637
square
#222F66 #662251 #665922 #226637
split-complementary
#222F66 #663722 #516622
monochromatic
#080B17 #131A38 #222F66 #314494 #425AC0

Accessibility & contrast

On white

12.60
#222F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#222F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222F66
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F66#FFFFFF#000000##FFFFFF
##222F661.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103668
Deuteranopia (green-blind)
#003065
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #222f66;
/* rgb */ color: rgb(34, 47, 102);
/* oklch */ color: oklch(32.7% 0.098 270.2);
Tailwind
colors: {
  custom: {
    50: '#656792',
    500: '#222f66',
    950: '#000000',
  },
}
SCSS
$custom: #222f66;
$custom-light: #656792;
$custom-dark: #000000;
JSON
{
  "hex": "#222f66",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 102
  },
  "hsl": {
    "h": 228.529,
    "s": 50,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32704,
    "c": 0.09776,
    "h": 270.2
  },
  "luminance": 0.03332
}

Semantic roles & 50–950 ramp

primary
#222F66
secondary
#9A8B4A
accent
#BF4EDA
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #222F66

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

Preview Lab → · Contrast checker → · Palette generator →

#222F66 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva