#223378#223378

#223378 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.1% C 0.120 H 268.9°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#223378
RGBrgb(34, 51, 120)
HSLhsl(228, 56%, 30%)
HSVhsv(228, 72%, 47%)
CMYKcmyk(71.7%, 57.5%, 0%, 52.9%)
CIE-LABlab(23.88, 18.31, -41.56)
CIE-LCHlch(23.88, 45.42, 293.78°)
OKLaboklab(35.07% -0.0022 -0.1196)
OKLCHoklch(35.07% 0.12 268.9)
XYZxyz(5.2325, 4.0633, 18.2742)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223378 #786722
analogous
#225E78 #223378 #3C2278
triadic
#223378 #782233 #337822
tetradic
#223378 #78225E #786722 #22783C
square
#223378 #78225E #786722 #22783C
split-complementary
#223378 #783C22 #5E7822
monochromatic
#070A19 #141F48 #223378 #3047A8 #4963CB

Accessibility & contrast

On white

11.58
#223378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#223378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223378
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223378#FFFFFF#000000##FFFFFF
##2233781.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#004450
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #223378;
/* rgb */ color: rgb(34, 51, 120);
/* oklch */ color: oklch(35.1% 0.120 268.9);
Tailwind
colors: {
  custom: {
    50: '#696aa0',
    500: '#223378',
    950: '#000000',
  },
}
SCSS
$custom: #223378;
$custom-light: #696aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#223378",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 120
  },
  "hsl": {
    "h": 228.14,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35068,
    "c": 0.11963,
    "h": 268.9
  },
  "luminance": 0.04064
}

Semantic roles & 50–950 ramp

primary
#223378
secondary
#AB984B
accent
#C149DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #223378

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

Preview Lab → · Contrast checker → · Palette generator →

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