#222F69#222F69

#222F69 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.9% C 0.102 H 270.4°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#222F69
RGBrgb(34, 47, 105)
HSLhsl(229, 51%, 27%)
HSVhsv(229, 68%, 41%)
CMYKcmyk(67.6%, 55.2%, 0%, 58.8%)
CIE-LABlab(21.55, 15.26, -35.70)
CIE-LCHlch(21.55, 38.83, 293.14°)
OKLaboklab(32.95% 0.0006 -0.1024)
OKLCHoklch(32.95% 0.102 270.4)
XYZxyz(4.2251, 3.3927, 13.7941)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F69 #695C22
analogous
#225369 #222F69 #392269
triadic
#222F69 #69222F #2F6922
tetradic
#222F69 #692253 #695C22 #226939
square
#222F69 #692253 #695C22 #226939
split-complementary
#222F69 #693922 #536922
monochromatic
#070A17 #131A3B #222F69 #314497 #435AC2

Accessibility & contrast

On white

12.51
#222F69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#222F69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222F69
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F69#FFFFFF#000000##FFFFFF
##222F691.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B376B
Deuteranopia (green-blind)
#003168
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #222f69;
/* rgb */ color: rgb(34, 47, 105);
/* oklch */ color: oklch(32.9% 0.102 270.4);
Tailwind
colors: {
  custom: {
    50: '#666794',
    500: '#222f69',
    950: '#000000',
  },
}
SCSS
$custom: #222f69;
$custom-light: #666794;
$custom-dark: #000000;
JSON
{
  "hex": "#222f69",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 105
  },
  "hsl": {
    "h": 229.014,
    "s": 51.079,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32946,
    "c": 0.10243,
    "h": 270.4
  },
  "luminance": 0.03393
}

Semantic roles & 50–950 ramp

primary
#222F69
secondary
#9D8E4A
accent
#C14DDB
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #222F69

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

Preview Lab → · Contrast checker → · Palette generator →

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