#222E6C#222E6C

#222E6C is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.108 H 271.0°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#222E6C
RGBrgb(34, 46, 108)
HSLhsl(230, 52%, 28%)
HSVhsv(230, 69%, 42%)
CMYKcmyk(68.5%, 57.4%, 0%, 57.6%)
CIE-LABlab(21.49, 17.14, -37.74)
CIE-LCHlch(21.49, 41.45, 294.43°)
OKLaboklab(32.98% 0.0019 -0.1084)
OKLCHoklch(32.98% 0.108 271)
XYZxyz(4.3425, 3.3764, 14.6073)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E6C #6C6022
analogous
#22536C #222E6C #3B226C
triadic
#222E6C #6C222E #2E6C22
tetradic
#222E6C #6C2253 #6C6022 #226C3B
square
#222E6C #6C2253 #6C6022 #226C3B
split-complementary
#222E6C #6C3B22 #536C22
monochromatic
#070A17 #131A3D #222E6C #31429B #4459C4

Accessibility & contrast

On white

12.53
#222E6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#222E6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222E6C
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E6C#FFFFFF#000000##FFFFFF
##222E6C1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02376E
Deuteranopia (green-blind)
#00306B
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #222e6c;
/* rgb */ color: rgb(34, 46, 108);
/* oklch */ color: oklch(33.0% 0.108 271.0);
Tailwind
colors: {
  custom: {
    50: '#666697',
    500: '#222e6c',
    950: '#000000',
  },
}
SCSS
$custom: #222e6c;
$custom-light: #666697;
$custom-dark: #000000;
JSON
{
  "hex": "#222e6c",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 108
  },
  "hsl": {
    "h": 230.27,
    "s": 52.113,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32975,
    "c": 0.10847,
    "h": 271
  },
  "luminance": 0.03377
}

Semantic roles & 50–950 ramp

primary
#222E6C
secondary
#A0924A
accent
#C44CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #222E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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