#222F94#222F94

#222F94 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.164 H 270.1°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#222F94
RGBrgb(34, 47, 148)
HSLhsl(233, 63%, 36%)
HSVhsv(233, 77%, 58%)
CMYKcmyk(77%, 68.2%, 0%, 42%)
CIE-LABlab(25.29, 31.80, -56.76)
CIE-LCHlch(25.29, 65.06, 299.26°)
OKLaboklab(36.88% 0.0003 -0.1642)
OKLCHoklch(36.88% 0.164 270.1)
XYZxyz(7.0197, 4.5105, 28.5119)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F94 #948722
analogous
#226894 #222F94 #4E2294
triadic
#222F94 #94222F #2F9422
tetradic
#222F94 #942268 #948722 #22944E
square
#222F94 #942268 #948722 #22944E
split-complementary
#222F94 #944E22 #689422
monochromatic
#0B0F30 #171F62 #222F94 #2D3FC6 #5866D9

Accessibility & contrast

On white

11.04
#222F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#222F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222F94
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F94#FFFFFF#000000##FFFFFF
##222F941.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #222f94;
/* rgb */ color: rgb(34, 47, 148);
/* oklch */ color: oklch(36.9% 0.164 270.1);
Tailwind
colors: {
  custom: {
    50: '#7067b4',
    500: '#222f94',
    950: '#000000',
  },
}
SCSS
$custom: #222f94;
$custom-light: #7067b4;
$custom-dark: #000000;
JSON
{
  "hex": "#222f94",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 233.158,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36878,
    "c": 0.16423,
    "h": 270.1
  },
  "luminance": 0.04511
}

Semantic roles & 50–950 ramp

primary
#222F94
secondary
#BDB155
accent
#D342E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #222F94

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

Preview Lab → · Contrast checker → · Palette generator →

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