#222F6F#222F6F

#222F6F is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.4% C 0.112 H 270.6°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#222F6F
RGBrgb(34, 47, 111)
HSLhsl(230, 53%, 28%)
HSVhsv(230, 69%, 44%)
CMYKcmyk(69.4%, 57.7%, 0%, 56.5%)
CIE-LABlab(22.02, 17.61, -38.83)
CIE-LCHlch(22.02, 42.63, 294.39°)
OKLaboklab(33.44% 0.0011 -0.1116)
OKLCHoklch(33.44% 0.112 270.6)
XYZxyz(4.5445, 3.5204, 15.4759)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F6F #6F6222
analogous
#22556F #222F6F #3B226F
triadic
#222F6F #6F222F #2F6F22
tetradic
#222F6F #6F2255 #6F6222 #226F3B
square
#222F6F #6F2255 #6F6222 #226F3B
split-complementary
#222F6F #6F3B22 #556F22
monochromatic
#070A17 #141B40 #222F6F #30439E #455BC6

Accessibility & contrast

On white

12.32
#222F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#222F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222F6F
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F6F#FFFFFF#000000##FFFFFF
##222F6F1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#00316E
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #222f6f;
/* rgb */ color: rgb(34, 47, 111);
/* oklch */ color: oklch(33.4% 0.112 270.6);
Tailwind
colors: {
  custom: {
    50: '#676799',
    500: '#222f6f',
    950: '#000000',
  },
}
SCSS
$custom: #222f6f;
$custom-light: #676799;
$custom-dark: #000000;
JSON
{
  "hex": "#222f6f",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 229.87,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33444,
    "c": 0.11163,
    "h": 270.6
  },
  "luminance": 0.03521
}

Semantic roles & 50–950 ramp

primary
#222F6F
secondary
#A2944A
accent
#C44BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #222F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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