#222FA0#222FA0

#222FA0 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.180 H 269.7°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#222FA0
RGBrgb(34, 47, 160)
HSLhsl(234, 65%, 38%)
HSVhsv(234, 79%, 63%)
CMYKcmyk(78.8%, 70.6%, 0%, 37.3%)
CIE-LABlab(26.48, 36.20, -62.15)
CIE-LCHlch(26.48, 71.93, 300.22°)
OKLaboklab(38.1% -0.0009 -0.18)
OKLCHoklch(38.1% 0.18 269.7)
XYZxyz(8.0192, 4.9103, 33.7760)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222FA0 #A09322
analogous
#226EA0 #222FA0 #5422A0
triadic
#222FA0 #A0222F #2FA022
tetradic
#222FA0 #A0226E #A09322 #22A054
square
#222FA0 #A0226E #A09322 #22A054
split-complementary
#222FA0 #A05422 #6EA022
monochromatic
#0D113B #17206E #222FA0 #2D3ED2 #5F6CDD

Accessibility & contrast

On white

10.59
#222FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#222FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222FA0
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222FA0#FFFFFF#000000##FFFFFF
##222FA01.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #222fa0;
/* rgb */ color: rgb(34, 47, 160);
/* oklch */ color: oklch(38.1% 0.180 269.7);
Tailwind
colors: {
  custom: {
    50: '#7368bd',
    500: '#222fa0',
    950: '#000000',
  },
}
SCSS
$custom: #222fa0;
$custom-light: #7368bd;
$custom-dark: #000000;
JSON
{
  "hex": "#222fa0",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 233.81,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38097,
    "c": 0.17996,
    "h": 269.7
  },
  "luminance": 0.04911
}

Semantic roles & 50–950 ramp

primary
#222FA0
secondary
#C2B75C
accent
#D740E8
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #222FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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