#223773#223773

#223773 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.107 H 266.5°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#223773
RGBrgb(34, 55, 115)
HSLhsl(224, 54%, 29%)
HSVhsv(224, 70%, 45%)
CMYKcmyk(70.4%, 52.2%, 0%, 54.9%)
CIE-LABlab(24.67, 13.52, -37.10)
CIE-LCHlch(24.67, 39.49, 290.02°)
OKLaboklab(35.55% -0.0065 -0.1064)
OKLCHoklch(35.55% 0.107 266.5)
XYZxyz(5.1193, 4.3098, 16.7784)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223773 #735E22
analogous
#226073 #223773 #362273
triadic
#223773 #732237 #377322
tetradic
#223773 #732260 #735E22 #227336
square
#223773 #732260 #735E22 #227336
split-complementary
#223773 #733622 #607322
monochromatic
#070B18 #142044 #223773 #304EA2 #4768C9

Accessibility & contrast

On white

11.28
#223773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#223773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223773
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223773#FFFFFF#000000##FFFFFF
##2237731.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153E75
Deuteranopia (green-blind)
#003772
Tritanopia (blue-blind)
#00454F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #223773;
/* rgb */ color: rgb(34, 55, 115);
/* oklch */ color: oklch(35.5% 0.107 266.5);
Tailwind
colors: {
  custom: {
    50: '#686d9c',
    500: '#223773',
    950: '#000000',
  },
}
SCSS
$custom: #223773;
$custom-light: #686d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#223773",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 115
  },
  "hsl": {
    "h": 224.444,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35545,
    "c": 0.10663,
    "h": 266.5
  },
  "luminance": 0.0431
}

Semantic roles & 50–950 ramp

primary
#223773
secondary
#A68E4B
accent
#B74ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #223773

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

Preview Lab → · Contrast checker → · Palette generator →

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