#223C7B#223C7B

#223C7B is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.3% C 0.112 H 264.7°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#223C7B
RGBrgb(34, 60, 123)
HSLhsl(222, 57%, 31%)
HSVhsv(222, 72%, 48%)
CMYKcmyk(72.4%, 51.2%, 0%, 51.8%)
CIE-LABlab(26.74, 13.19, -38.84)
CIE-LCHlch(26.74, 41.02, 288.76°)
OKLaboklab(37.31% -0.0104 -0.1114)
OKLCHoklch(37.31% 0.112 264.7)
XYZxyz(5.8494, 5.0013, 19.3921)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C7B #7B6122
analogous
#22687B #223C7B #34227B
triadic
#223C7B #7B223C #3C7B22
tetradic
#223C7B #7B2268 #7B6122 #227B34
square
#223C7B #7B2268 #7B6122 #227B34
split-complementary
#223C7B #7B3422 #687B22
monochromatic
#070D1B #15254B #223C7B #2F53AB #4A71CD

Accessibility & contrast

On white

10.50
#223C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223C7B
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C7B#FFFFFF#000000##FFFFFF
##223C7B1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18447D
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223c7b;
/* rgb */ color: rgb(34, 60, 123);
/* oklch */ color: oklch(37.3% 0.112 264.7);
Tailwind
colors: {
  custom: {
    50: '#6971a2',
    500: '#223c7b',
    950: '#000000',
  },
}
SCSS
$custom: #223c7b;
$custom-light: #6971a2;
$custom-dark: #000000;
JSON
{
  "hex": "#223c7b",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 123
  },
  "hsl": {
    "h": 222.472,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37305,
    "c": 0.11193,
    "h": 264.7
  },
  "luminance": 0.05002
}

Semantic roles & 50–950 ramp

primary
#223C7B
secondary
#AE914B
accent
#B448E0
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #223C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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