#223174#223174

#223174 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.3% C 0.116 H 269.7°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#223174
RGBrgb(34, 49, 116)
HSLhsl(229, 55%, 29%)
HSVhsv(229, 71%, 45%)
CMYKcmyk(70.7%, 57.8%, 0%, 54.5%)
CIE-LABlab(22.99, 18.15, -40.46)
CIE-LCHlch(22.99, 44.34, 294.16°)
OKLaboklab(34.3% -0.0006 -0.1164)
OKLCHoklch(34.3% 0.116 269.7)
XYZxyz(4.9093, 3.7972, 16.9938)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223174 #746522
analogous
#225A74 #223174 #3C2274
triadic
#223174 #742231 #317422
tetradic
#223174 #74225A #746522 #22743C
square
#223174 #74225A #746522 #22743C
split-complementary
#223174 #743C22 #5A7422
monochromatic
#070A18 #141D45 #223174 #3045A3 #475FC9

Accessibility & contrast

On white

11.93
#223174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#223174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223174
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223174#FFFFFF#000000##FFFFFF
##2231741.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #223174;
/* rgb */ color: rgb(34, 49, 116);
/* oklch */ color: oklch(34.3% 0.116 269.7);
Tailwind
colors: {
  custom: {
    50: '#68689d',
    500: '#223174',
    950: '#000000',
  },
}
SCSS
$custom: #223174;
$custom-light: #68689d;
$custom-dark: #000000;
JSON
{
  "hex": "#223174",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 229.024,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34299,
    "c": 0.1164,
    "h": 269.7
  },
  "luminance": 0.03798
}

Semantic roles & 50–950 ramp

primary
#223174
secondary
#A7964B
accent
#C34ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #223174

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

Preview Lab → · Contrast checker → · Palette generator →

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