#223B7C#223B7C

#223B7C is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.2% C 0.115 H 265.3°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#223B7C
RGBrgb(34, 59, 124)
HSLhsl(223, 57%, 31%)
HSVhsv(223, 73%, 49%)
CMYKcmyk(72.6%, 52.4%, 0%, 51.4%)
CIE-LABlab(26.51, 14.28, -39.83)
CIE-LCHlch(26.51, 42.31, 289.73°)
OKLaboklab(37.16% -0.0093 -0.1144)
OKLCHoklch(37.16% 0.115 265.3)
XYZxyz(5.8605, 4.9227, 19.7062)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223B7C #7C6322
analogous
#22687C #223B7C #36227C
triadic
#223B7C #7C223B #3B7C22
tetradic
#223B7C #7C2268 #7C6322 #227C36
square
#223B7C #7C2268 #7C6322 #227C36
split-complementary
#223B7C #7C3622 #687C22
monochromatic
#080D1C #15244C #223B7C #2F52AC #4B6FCE

Accessibility & contrast

On white

10.58
#223B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#223B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223B7C
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223B7C#FFFFFF#000000##FFFFFF
##223B7C1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14437E
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223b7c;
/* rgb */ color: rgb(34, 59, 124);
/* oklch */ color: oklch(37.2% 0.115 265.3);
Tailwind
colors: {
  custom: {
    50: '#6970a2',
    500: '#223b7c',
    950: '#000000',
  },
}
SCSS
$custom: #223b7c;
$custom-light: #6970a2;
$custom-dark: #000000;
JSON
{
  "hex": "#223b7c",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 124
  },
  "hsl": {
    "h": 223.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37156,
    "c": 0.11477,
    "h": 265.3
  },
  "luminance": 0.04923
}

Semantic roles & 50–950 ramp

primary
#223B7C
secondary
#AF934B
accent
#B648E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #223B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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