#223B7A#223B7A

#223B7A is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.0% C 0.112 H 265.1°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#223B7A
RGBrgb(34, 59, 122)
HSLhsl(223, 56%, 31%)
HSVhsv(223, 72%, 48%)
CMYKcmyk(72.1%, 51.6%, 0%, 52.2%)
CIE-LABlab(26.37, 13.49, -38.80)
CIE-LCHlch(26.37, 41.08, 289.17°)
OKLaboklab(37% -0.0096 -0.1114)
OKLCHoklch(37% 0.112 265.1)
XYZxyz(5.7353, 4.8726, 19.0468)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223B7A #7A6122
analogous
#22677A #223B7A #35227A
triadic
#223B7A #7A223B #3B7A22
tetradic
#223B7A #7A2267 #7A6122 #227A35
square
#223B7A #7A2267 #7A6122 #227A35
split-complementary
#223B7A #7A3522 #677A22
monochromatic
#070D1A #15244A #223B7A #2F52AA #4A6FCD

Accessibility & contrast

On white

10.64
#223B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#223B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223B7A
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223B7A#FFFFFF#000000##FFFFFF
##223B7A1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17437C
Deuteranopia (green-blind)
#003B79
Tritanopia (blue-blind)
#004A54
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223b7a;
/* rgb */ color: rgb(34, 59, 122);
/* oklch */ color: oklch(37.0% 0.112 265.1);
Tailwind
colors: {
  custom: {
    50: '#6970a1',
    500: '#223b7a',
    950: '#000000',
  },
}
SCSS
$custom: #223b7a;
$custom-light: #6970a1;
$custom-dark: #000000;
JSON
{
  "hex": "#223b7a",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 122
  },
  "hsl": {
    "h": 222.955,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37,
    "c": 0.11178,
    "h": 265.1
  },
  "luminance": 0.04873
}

Semantic roles & 50–950 ramp

primary
#223B7A
secondary
#AD914B
accent
#B548E0
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #223B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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