#223D77#223D77

#223D77 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.2% C 0.105 H 263.4°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#223D77
RGBrgb(34, 61, 119)
HSLhsl(221, 56%, 30%)
HSVhsv(221, 71%, 47%)
CMYKcmyk(71.4%, 48.7%, 0%, 53.3%)
CIE-LABlab(26.76, 10.91, -36.28)
CIE-LCHlch(26.76, 37.88, 286.73°)
OKLaboklab(37.23% -0.012 -0.1039)
OKLCHoklch(37.23% 0.105 263.4)
XYZxyz(5.6570, 5.0089, 18.1179)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D77 #775C22
analogous
#226877 #223D77 #312277
triadic
#223D77 #77223D #3D7722
tetradic
#223D77 #772268 #775C22 #227731
square
#223D77 #772268 #775C22 #227731
split-complementary
#223D77 #773122 #687722
monochromatic
#070C18 #142547 #223D77 #3055A7 #4972CB

Accessibility & contrast

On white

10.49
#223D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#223D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223D77
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D77#FFFFFF#000000##FFFFFF
##223D771.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4379
Deuteranopia (green-blind)
#0D3C76
Tritanopia (blue-blind)
#004A54
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223d77;
/* rgb */ color: rgb(34, 61, 119);
/* oklch */ color: oklch(37.2% 0.105 263.4);
Tailwind
colors: {
  custom: {
    50: '#68729f',
    500: '#223d77',
    950: '#000000',
  },
}
SCSS
$custom: #223d77;
$custom-light: #68729f;
$custom-dark: #000000;
JSON
{
  "hex": "#223d77",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 119
  },
  "hsl": {
    "h": 220.941,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.37232,
    "c": 0.1046,
    "h": 263.4
  },
  "luminance": 0.05009
}

Semantic roles & 50–950 ramp

primary
#223D77
secondary
#AA8C4B
accent
#AF49DF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #223D77

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

Preview Lab → · Contrast checker → · Palette generator →

#223D77 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva