#223477#223477

#223477 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.2% C 0.117 H 268.4°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#223477
RGBrgb(34, 52, 119)
HSLhsl(227, 56%, 30%)
HSVhsv(227, 71%, 47%)
CMYKcmyk(71.4%, 56.3%, 0%, 53.3%)
CIE-LABlab(24.09, 17.22, -40.59)
CIE-LCHlch(24.09, 44.09, 292.98°)
OKLaboklab(35.2% -0.0032 -0.1167)
OKLCHoklch(35.2% 0.117 268.4)
XYZxyz(5.2163, 4.1275, 17.9710)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223477 #776522
analogous
#225F77 #223477 #3A2277
triadic
#223477 #772234 #347722
tetradic
#223477 #77225F #776522 #22773A
square
#223477 #77225F #776522 #22773A
split-complementary
#223477 #773A22 #5F7722
monochromatic
#070A18 #141F47 #223477 #3049A7 #4964CB

Accessibility & contrast

On white

11.50
#223477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#223477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223477
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223477#FFFFFF#000000##FFFFFF
##2234771.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033D79
Deuteranopia (green-blind)
#003676
Tritanopia (blue-blind)
#004450
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #223477;
/* rgb */ color: rgb(34, 52, 119);
/* oklch */ color: oklch(35.2% 0.117 268.4);
Tailwind
colors: {
  custom: {
    50: '#696b9f',
    500: '#223477',
    950: '#000000',
  },
}
SCSS
$custom: #223477;
$custom-light: #696b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#223477",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 119
  },
  "hsl": {
    "h": 227.294,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.35201,
    "c": 0.11677,
    "h": 268.4
  },
  "luminance": 0.04128
}

Semantic roles & 50–950 ramp

primary
#223477
secondary
#AA964B
accent
#BF49DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #223477

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

Preview Lab → · Contrast checker → · Palette generator →

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