#222F6B#222F6B

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

Color values

HEX#222F6B
RGBrgb(34, 47, 107)
HSLhsl(229, 52%, 28%)
HSVhsv(229, 68%, 42%)
CMYKcmyk(68.2%, 56.1%, 0%, 58%)
CIE-LABlab(21.71, 16.04, -36.75)
CIE-LCHlch(21.71, 40.10, 293.58°)
OKLaboklab(33.11% 0.0008 -0.1055)
OKLCHoklch(33.11% 0.106 270.4)
XYZxyz(4.3291, 3.4343, 14.3418)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F6B #6B5E22
analogous
#22536B #222F6B #39226B
triadic
#222F6B #6B222F #2F6B22
tetradic
#222F6B #6B2253 #6B5E22 #226B39
square
#222F6B #6B2253 #6B5E22 #226B39
split-complementary
#222F6B #6B3922 #536B22
monochromatic
#070A17 #131B3D #222F6B #314399 #445BC4

Accessibility & contrast

On white

12.45
#222F6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#222F6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222F6B
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F6B#FFFFFF#000000##FFFFFF
##222F6B1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07376D
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #222f6b;
/* rgb */ color: rgb(34, 47, 107);
/* oklch */ color: oklch(33.1% 0.106 270.4);
Tailwind
colors: {
  custom: {
    50: '#666796',
    500: '#222f6b',
    950: '#000000',
  },
}
SCSS
$custom: #222f6b;
$custom-light: #666796;
$custom-dark: #000000;
JSON
{
  "hex": "#222f6b",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 107
  },
  "hsl": {
    "h": 229.315,
    "s": 51.773,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3311,
    "c": 0.10552,
    "h": 270.4
  },
  "luminance": 0.03435
}

Semantic roles & 50–950 ramp

primary
#222F6B
secondary
#9F904A
accent
#C24DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #222F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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