#222F65#222F65

#222F65 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.096 H 270.1°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#222F65
RGBrgb(34, 47, 101)
HSLhsl(228, 50%, 26%)
HSVhsv(228, 66%, 40%)
CMYKcmyk(66.3%, 53.5%, 0%, 60.4%)
CIE-LABlab(21.25, 13.69, -33.58)
CIE-LCHlch(21.25, 36.27, 292.18°)
OKLaboklab(32.63% 0.0002 -0.0962)
OKLCHoklch(32.63% 0.096 270.1)
XYZxyz(4.0244, 3.3124, 12.7367)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F65 #655822
analogous
#225165 #222F65 #372265
triadic
#222F65 #65222F #2F6522
tetradic
#222F65 #652251 #655822 #226537
square
#222F65 #652251 #655822 #226537
split-complementary
#222F65 #653722 #516522
monochromatic
#080B17 #131A37 #222F65 #314493 #425ABF

Accessibility & contrast

On white

12.63
#222F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#222F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222F65
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F65#FFFFFF#000000##FFFFFF
##222F651.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113667
Deuteranopia (green-blind)
#023064
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #222f65;
/* rgb */ color: rgb(34, 47, 101);
/* oklch */ color: oklch(32.6% 0.096 270.1);
Tailwind
colors: {
  custom: {
    50: '#656791',
    500: '#222f65',
    950: '#000000',
  },
}
SCSS
$custom: #222f65;
$custom-light: #656791;
$custom-dark: #000000;
JSON
{
  "hex": "#222f65",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 101
  },
  "hsl": {
    "h": 228.358,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32625,
    "c": 0.09619,
    "h": 270.1
  },
  "luminance": 0.03313
}

Semantic roles & 50–950 ramp

primary
#222F65
secondary
#998A4A
accent
#BE4FD9
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #222F65

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

Preview Lab → · Contrast checker → · Palette generator →

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