#223674#223674

#223674 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.4% C 0.110 H 267.2°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#223674
RGBrgb(34, 54, 116)
HSLhsl(225, 55%, 29%)
HSVhsv(225, 71%, 45%)
CMYKcmyk(70.7%, 53.4%, 0%, 54.5%)
CIE-LABlab(24.45, 14.62, -38.10)
CIE-LCHlch(24.45, 40.81, 291.00°)
OKLaboklab(35.4% -0.0054 -0.1094)
OKLCHoklch(35.4% 0.11 267.2)
XYZxyz(5.1302, 4.2389, 17.0674)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223674 #746022
analogous
#225F74 #223674 #372274
triadic
#223674 #742236 #367422
tetradic
#223674 #74225F #746022 #227437
square
#223674 #74225F #746022 #227437
split-complementary
#223674 #743722 #5F7422
monochromatic
#070B18 #142045 #223674 #304CA3 #4767C9

Accessibility & contrast

On white

11.36
#223674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#223674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223674
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223674#FFFFFF#000000##FFFFFF
##2236741.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113E76
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#00454F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #223674;
/* rgb */ color: rgb(34, 54, 116);
/* oklch */ color: oklch(35.4% 0.110 267.2);
Tailwind
colors: {
  custom: {
    50: '#686c9c',
    500: '#223674',
    950: '#000000',
  },
}
SCSS
$custom: #223674;
$custom-light: #686c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#223674",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 116
  },
  "hsl": {
    "h": 225.366,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35398,
    "c": 0.10951,
    "h": 267.2
  },
  "luminance": 0.04239
}

Semantic roles & 50–950 ramp

primary
#223674
secondary
#A7914B
accent
#BA4ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #223674

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

Preview Lab → · Contrast checker → · Palette generator →

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