#222574#222574

#222574 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.132 H 274.3°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#222574
RGBrgb(34, 37, 116)
HSLhsl(238, 55%, 29%)
HSVhsv(238, 71%, 45%)
CMYKcmyk(70.7%, 68.1%, 0%, 54.5%)
CIE-LABlab(19.74, 26.48, -45.76)
CIE-LCHlch(19.74, 52.87, 300.06°)
OKLaboklab(31.89% 0.0099 -0.1321)
OKLCHoklch(31.89% 0.132 274.3)
XYZxyz(4.4726, 2.9238, 16.8482)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222574 #747122
analogous
#224E74 #222574 #482274
triadic
#222574 #742225 #257422
tetradic
#222574 #74224E #747122 #227448
square
#222574 #74224E #747122 #227448
split-complementary
#222574 #744822 #4E7422
monochromatic
#070818 #141645 #222574 #3034A3 #474CC9

Accessibility & contrast

On white

13.25
#222574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#222574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222574
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222574#FFFFFF#000000##FFFFFF
##2225741.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003376
Deuteranopia (green-blind)
#002C72
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #222574;
/* rgb */ color: rgb(34, 37, 116);
/* oklch */ color: oklch(31.9% 0.132 274.3);
Tailwind
colors: {
  custom: {
    50: '#695f9d',
    500: '#222574',
    950: '#000000',
  },
}
SCSS
$custom: #222574;
$custom-light: #695f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#222574",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 116
  },
  "hsl": {
    "h": 237.805,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31891,
    "c": 0.13246,
    "h": 274.3
  },
  "luminance": 0.02924
}

Semantic roles & 50–950 ramp

primary
#222574
secondary
#A7A44B
accent
#D94ADE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #222574

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

Preview Lab → · Contrast checker → · Palette generator →

#222574 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva