#223772#223772

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

Color values

HEX#223772
RGBrgb(34, 55, 114)
HSLhsl(224, 54%, 29%)
HSVhsv(224, 70%, 45%)
CMYKcmyk(70.2%, 51.8%, 0%, 55.3%)
CIE-LABlab(24.60, 13.13, -36.58)
CIE-LCHlch(24.60, 38.87, 289.74°)
OKLaboklab(35.47% -0.0067 -0.1049)
OKLCHoklch(35.47% 0.105 266.4)
XYZxyz(5.0621, 4.2869, 16.4770)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223772 #725D22
analogous
#225F72 #223772 #352272
triadic
#223772 #722237 #377222
tetradic
#223772 #72225F #725D22 #227235
square
#223772 #72225F #725D22 #227235
split-complementary
#223772 #723522 #5F7222
monochromatic
#070B18 #142043 #223772 #304EA1 #4668C8

Accessibility & contrast

On white

11.31
#223772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223772
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223772#FFFFFF#000000##FFFFFF
##2237721.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163E74
Deuteranopia (green-blind)
#013771
Tritanopia (blue-blind)
#00454F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #223772;
/* rgb */ color: rgb(34, 55, 114);
/* oklch */ color: oklch(35.5% 0.105 266.4);
Tailwind
colors: {
  custom: {
    50: '#676d9b',
    500: '#223772',
    950: '#000000',
  },
}
SCSS
$custom: #223772;
$custom-light: #676d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#223772",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 114
  },
  "hsl": {
    "h": 224.25,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35467,
    "c": 0.1051,
    "h": 266.4
  },
  "luminance": 0.04287
}

Semantic roles & 50–950 ramp

primary
#223772
secondary
#A58D4B
accent
#B74ADD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #223772

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

Preview Lab → · Contrast checker → · Palette generator →

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