#223679#223679

#223679 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.8% C 0.117 H 267.6°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#223679
RGBrgb(34, 54, 121)
HSLhsl(226, 56%, 30%)
HSVhsv(226, 72%, 47%)
CMYKcmyk(71.9%, 55.4%, 0%, 52.5%)
CIE-LABlab(24.82, 16.60, -40.67)
CIE-LCHlch(24.82, 43.93, 292.20°)
OKLaboklab(35.8% -0.0049 -0.1169)
OKLCHoklch(35.8% 0.117 267.6)
XYZxyz(5.4289, 4.3584, 18.6406)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223679 #796522
analogous
#226179 #223679 #392279
triadic
#223679 #792236 #367922
tetradic
#223679 #792261 #796522 #227939
square
#223679 #792261 #796522 #227939
split-complementary
#223679 #793922 #617922
monochromatic
#070B19 #152149 #223679 #2F4BA9 #4967CC

Accessibility & contrast

On white

11.22
#223679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#223679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223679
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223679#FFFFFF#000000##FFFFFF
##2236791.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073F7B
Deuteranopia (green-blind)
#003778
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #223679;
/* rgb */ color: rgb(34, 54, 121);
/* oklch */ color: oklch(35.8% 0.117 267.6);
Tailwind
colors: {
  custom: {
    50: '#696ca0',
    500: '#223679',
    950: '#000000',
  },
}
SCSS
$custom: #223679;
$custom-light: #696ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#223679",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 121
  },
  "hsl": {
    "h": 226.207,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35803,
    "c": 0.11704,
    "h": 267.6
  },
  "luminance": 0.04359
}

Semantic roles & 50–950 ramp

primary
#223679
secondary
#AC964B
accent
#BD48DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #223679

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

Preview Lab → · Contrast checker → · Palette generator →

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