#223B7B#223B7B

#223B7B is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.1% C 0.113 H 265.2°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#223B7B
RGBrgb(34, 59, 123)
HSLhsl(223, 57%, 31%)
HSVhsv(223, 72%, 48%)
CMYKcmyk(72.4%, 52%, 0%, 51.8%)
CIE-LABlab(26.44, 13.89, -39.32)
CIE-LCHlch(26.44, 41.70, 289.45°)
OKLaboklab(37.08% -0.0094 -0.1129)
OKLCHoklch(37.08% 0.113 265.2)
XYZxyz(5.7976, 4.8975, 19.3748)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223B7B #7B6222
analogous
#22677B #223B7B #35227B
triadic
#223B7B #7B223B #3B7B22
tetradic
#223B7B #7B2267 #7B6222 #227B35
square
#223B7B #7B2267 #7B6222 #227B35
split-complementary
#223B7B #7B3522 #677B22
monochromatic
#070D1B #15244B #223B7B #2F52AB #4A6FCD

Accessibility & contrast

On white

10.61
#223B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223B7B
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223B7B#FFFFFF#000000##FFFFFF
##223B7B1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223b7b;
/* rgb */ color: rgb(34, 59, 123);
/* oklch */ color: oklch(37.1% 0.113 265.2);
Tailwind
colors: {
  custom: {
    50: '#6970a2',
    500: '#223b7b',
    950: '#000000',
  },
}
SCSS
$custom: #223b7b;
$custom-light: #6970a2;
$custom-dark: #000000;
JSON
{
  "hex": "#223b7b",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 123
  },
  "hsl": {
    "h": 223.146,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37078,
    "c": 0.11327,
    "h": 265.2
  },
  "luminance": 0.04898
}

Semantic roles & 50–950 ramp

primary
#223B7B
secondary
#AE924B
accent
#B548E0
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #223B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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