#222EAF#222EAF

#222EAF is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.200 H 269.3°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#222EAF
RGBrgb(34, 46, 175)
HSLhsl(235, 67%, 41%)
HSVhsv(235, 81%, 69%)
CMYKcmyk(80.6%, 73.7%, 0%, 31.4%)
CIE-LABlab(27.81, 42.14, -69.00)
CIE-LCHlch(27.81, 80.85, 301.42°)
OKLaboklab(39.52% -0.0023 -0.1999)
OKLCHoklch(39.52% 0.2 269.3)
XYZxyz(9.3719, 5.3881, 41.0952)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222EAF #AFA322
analogous
#2274AF #222EAF #5D22AF
triadic
#222EAF #AF222E #2EAF22
tetradic
#222EAF #AF2274 #AFA322 #22AF5D
square
#222EAF #AF2274 #AFA322 #22AF5D
split-complementary
#222EAF #AF5D22 #74AF22
monochromatic
#0E1349 #18217C #222EAF #3644D8 #6974E2

Accessibility & contrast

On white

10.11
#222EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#222EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222EAF
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222EAF#FFFFFF#000000##FFFFFF
##222EAF1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003BAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #222eaf;
/* rgb */ color: rgb(34, 46, 175);
/* oklch */ color: oklch(39.5% 0.200 269.3);
Tailwind
colors: {
  custom: {
    50: '#7768c8',
    500: '#222eaf',
    950: '#000000',
  },
}
SCSS
$custom: #222eaf;
$custom-light: #7768c8;
$custom-dark: #000000;
JSON
{
  "hex": "#222eaf",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 234.894,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39521,
    "c": 0.1999,
    "h": 269.3
  },
  "luminance": 0.05389
}

Semantic roles & 50–950 ramp

primary
#222EAF
secondary
#C8BF65
accent
#DC3DEA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #222EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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