#223778#223778

#223778 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.9% C 0.114 H 267.0°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#223778
RGBrgb(34, 55, 120)
HSLhsl(225, 56%, 30%)
HSVhsv(225, 72%, 47%)
CMYKcmyk(71.7%, 54.2%, 0%, 52.9%)
CIE-LABlab(25.04, 15.50, -39.69)
CIE-LCHlch(25.04, 42.61, 291.34°)
OKLaboklab(35.94% -0.006 -0.114)
OKLCHoklch(35.94% 0.114 267)
XYZxyz(5.4149, 4.4280, 18.3350)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223778 #786322
analogous
#226278 #223778 #382278
triadic
#223778 #782237 #377822
tetradic
#223778 #782262 #786322 #227838
square
#223778 #782262 #786322 #227838
split-complementary
#223778 #783822 #627822
monochromatic
#070B19 #142148 #223778 #304DA8 #4969CB

Accessibility & contrast

On white

11.14
#223778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#223778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223778
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223778#FFFFFF#000000##FFFFFF
##2237781.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D407A
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #223778;
/* rgb */ color: rgb(34, 55, 120);
/* oklch */ color: oklch(35.9% 0.114 267.0);
Tailwind
colors: {
  custom: {
    50: '#696d9f',
    500: '#223778',
    950: '#000000',
  },
}
SCSS
$custom: #223778;
$custom-light: #696d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#223778",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 120
  },
  "hsl": {
    "h": 225.349,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35943,
    "c": 0.11419,
    "h": 267
  },
  "luminance": 0.04429
}

Semantic roles & 50–950 ramp

primary
#223778
secondary
#AB934B
accent
#BA49DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #223778

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

Preview Lab → · Contrast checker → · Palette generator →

#223778 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva