#222F67#222F67

#222F67 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.8% C 0.099 H 270.3°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#222F67
RGBrgb(34, 47, 103)
HSLhsl(229, 50%, 27%)
HSVhsv(229, 67%, 40%)
CMYKcmyk(67%, 54.4%, 0%, 59.6%)
CIE-LABlab(21.40, 14.48, -34.65)
CIE-LCHlch(21.40, 37.55, 292.68°)
OKLaboklab(32.78% 0.0005 -0.0993)
OKLCHoklch(32.78% 0.099 270.3)
XYZxyz(4.1236, 3.3520, 13.2590)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F67 #675A22
analogous
#225267 #222F67 #382267
triadic
#222F67 #67222F #2F6722
tetradic
#222F67 #672252 #675A22 #226738
square
#222F67 #672252 #675A22 #226738
split-complementary
#222F67 #673822 #526722
monochromatic
#080A17 #131A39 #222F67 #314495 #435AC1

Accessibility & contrast

On white

12.57
#222F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222F67
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F67#FFFFFF#000000##FFFFFF
##222F671.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3769
Deuteranopia (green-blind)
#003066
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #222f67;
/* rgb */ color: rgb(34, 47, 103);
/* oklch */ color: oklch(32.8% 0.099 270.3);
Tailwind
colors: {
  custom: {
    50: '#656793',
    500: '#222f67',
    950: '#000000',
  },
}
SCSS
$custom: #222f67;
$custom-light: #656793;
$custom-dark: #000000;
JSON
{
  "hex": "#222f67",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 103
  },
  "hsl": {
    "h": 228.696,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32784,
    "c": 0.09932,
    "h": 270.3
  },
  "luminance": 0.03352
}

Semantic roles & 50–950 ramp

primary
#222F67
secondary
#9B8C4A
accent
#C04EDA
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #222F67

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

Preview Lab → · Contrast checker → · Palette generator →

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