#223B78#223B78

#223B78 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.8% C 0.109 H 264.8°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#223B78
RGBrgb(34, 59, 120)
HSLhsl(223, 56%, 30%)
HSVhsv(223, 72%, 47%)
CMYKcmyk(71.7%, 50.8%, 0%, 52.9%)
CIE-LABlab(26.23, 12.70, -37.77)
CIE-LCHlch(26.23, 39.85, 288.58°)
OKLaboklab(36.85% -0.0098 -0.1083)
OKLCHoklch(36.85% 0.109 264.8)
XYZxyz(5.6126, 4.8235, 18.4009)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223B78 #785F22
analogous
#226678 #223B78 #342278
triadic
#223B78 #78223B #3B7822
tetradic
#223B78 #782266 #785F22 #227834
square
#223B78 #782266 #785F22 #227834
split-complementary
#223B78 #783422 #667822
monochromatic
#070C19 #142448 #223B78 #3052A8 #496FCB

Accessibility & contrast

On white

10.69
#223B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#223B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223B78
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223B78#FFFFFF#000000##FFFFFF
##223B781.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19427A
Deuteranopia (green-blind)
#023A77
Tritanopia (blue-blind)
#004953
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223b78;
/* rgb */ color: rgb(34, 59, 120);
/* oklch */ color: oklch(36.8% 0.109 264.8);
Tailwind
colors: {
  custom: {
    50: '#68709f',
    500: '#223b78',
    950: '#000000',
  },
}
SCSS
$custom: #223b78;
$custom-light: #68709f;
$custom-dark: #000000;
JSON
{
  "hex": "#223b78",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 120
  },
  "hsl": {
    "h": 222.558,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36845,
    "c": 0.10878,
    "h": 264.8
  },
  "luminance": 0.04824
}

Semantic roles & 50–950 ramp

primary
#223B78
secondary
#AB8F4B
accent
#B349DF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #223B78

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

Preview Lab → · Contrast checker → · Palette generator →

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