#223274#223274

#223274 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.5% C 0.115 H 269.2°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#223274
RGBrgb(34, 50, 116)
HSLhsl(228, 55%, 29%)
HSVhsv(228, 71%, 45%)
CMYKcmyk(70.7%, 56.9%, 0%, 54.5%)
CIE-LABlab(23.28, 17.44, -39.99)
CIE-LCHlch(23.28, 43.63, 293.57°)
OKLaboklab(34.52% -0.0015 -0.115)
OKLCHoklch(34.52% 0.115 269.2)
XYZxyz(4.9516, 3.8818, 17.0079)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223274 #746422
analogous
#225B74 #223274 #3B2274
triadic
#223274 #742232 #327422
tetradic
#223274 #74225B #746422 #22743B
square
#223274 #74225B #746422 #22743B
split-complementary
#223274 #743B22 #5B7422
monochromatic
#070A18 #141E45 #223274 #3046A3 #4761C9

Accessibility & contrast

On white

11.82
#223274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#223274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223274
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223274#FFFFFF#000000##FFFFFF
##2232741.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013B76
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #223274;
/* rgb */ color: rgb(34, 50, 116);
/* oklch */ color: oklch(34.5% 0.115 269.2);
Tailwind
colors: {
  custom: {
    50: '#68699d',
    500: '#223274',
    950: '#000000',
  },
}
SCSS
$custom: #223274;
$custom-light: #68699d;
$custom-dark: #000000;
JSON
{
  "hex": "#223274",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 228.293,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34515,
    "c": 0.11502,
    "h": 269.2
  },
  "luminance": 0.03882
}

Semantic roles & 50–950 ramp

primary
#223274
secondary
#A7954B
accent
#C14ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #223274

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

Preview Lab → · Contrast checker → · Palette generator →

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