#222F6E#222F6E

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

Color values

HEX#222F6E
RGBrgb(34, 47, 110)
HSLhsl(230, 53%, 28%)
HSVhsv(230, 69%, 43%)
CMYKcmyk(69.1%, 57.3%, 0%, 56.9%)
CIE-LABlab(21.94, 17.21, -38.31)
CIE-LCHlch(21.94, 42.00, 294.20°)
OKLaboklab(33.36% 0.001 -0.1101)
OKLCHoklch(33.36% 0.11 270.5)
XYZxyz(4.4897, 3.4985, 15.1875)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F6E #6E6122
analogous
#22556E #222F6E #3B226E
triadic
#222F6E #6E222F #2F6E22
tetradic
#222F6E #6E2255 #6E6122 #226E3B
square
#222F6E #6E2255 #6E6122 #226E3B
split-complementary
#222F6E #6E3B22 #556E22
monochromatic
#070A17 #141B3F #222F6E #30439D #455BC5

Accessibility & contrast

On white

12.35
#222F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222F6E
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F6E#FFFFFF#000000##FFFFFF
##222F6E1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013870
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #222f6e;
/* rgb */ color: rgb(34, 47, 110);
/* oklch */ color: oklch(33.4% 0.110 270.5);
Tailwind
colors: {
  custom: {
    50: '#676798',
    500: '#222f6e',
    950: '#000000',
  },
}
SCSS
$custom: #222f6e;
$custom-light: #676798;
$custom-dark: #000000;
JSON
{
  "hex": "#222f6e",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 229.737,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3336,
    "c": 0.11011,
    "h": 270.5
  },
  "luminance": 0.03499
}

Semantic roles & 50–950 ramp

primary
#222F6E
secondary
#A1934A
accent
#C34CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #222F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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