#222E6E#222E6E

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

Color values

HEX#222E6E
RGBrgb(34, 46, 110)
HSLhsl(231, 53%, 28%)
HSVhsv(231, 69%, 43%)
CMYKcmyk(69.1%, 58.2%, 0%, 56.9%)
CIE-LABlab(21.65, 17.92, -38.78)
CIE-LCHlch(21.65, 42.72, 294.81°)
OKLaboklab(33.14% 0.002 -0.1115)
OKLCHoklch(33.14% 0.112 271)
XYZxyz(4.4502, 3.4195, 15.1743)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E6E #6E6222
analogous
#22546E #222E6E #3C226E
triadic
#222E6E #6E222E #2E6E22
tetradic
#222E6E #6E2254 #6E6222 #226E3C
square
#222E6E #6E2254 #6E6222 #226E3C
split-complementary
#222E6E #6E3C22 #546E22
monochromatic
#070A17 #141A3F #222E6E #30429D #4559C5

Accessibility & contrast

On white

12.47
#222E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222E6E
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E6E#FFFFFF#000000##FFFFFF
##222E6E1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #222e6e;
/* rgb */ color: rgb(34, 46, 110);
/* oklch */ color: oklch(33.1% 0.112 271.0);
Tailwind
colors: {
  custom: {
    50: '#676698',
    500: '#222e6e',
    950: '#000000',
  },
}
SCSS
$custom: #222e6e;
$custom-light: #676698;
$custom-dark: #000000;
JSON
{
  "hex": "#222e6e",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 110
  },
  "hsl": {
    "h": 230.526,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33144,
    "c": 0.11151,
    "h": 271
  },
  "luminance": 0.0342
}

Semantic roles & 50–950 ramp

primary
#222E6E
secondary
#A1944A
accent
#C54CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #222E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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