#223370#223370

#223370 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.4% C 0.108 H 268.5°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#223370
RGBrgb(34, 51, 112)
HSLhsl(227, 53%, 29%)
HSVhsv(227, 70%, 44%)
CMYKcmyk(69.6%, 54.5%, 0%, 56.1%)
CIE-LABlab(23.26, 15.16, -37.46)
CIE-LCHlch(23.26, 40.41, 292.04°)
OKLaboklab(34.41% -0.0028 -0.1075)
OKLCHoklch(34.41% 0.108 268.5)
XYZxyz(4.7671, 3.8771, 15.8232)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223370 #705F22
analogous
#225A70 #223370 #382270
triadic
#223370 #702233 #337022
tetradic
#223370 #70225A #705F22 #227038
square
#223370 #70225A #705F22 #227038
split-complementary
#223370 #703822 #5A7022
monochromatic
#070B17 #141E41 #223370 #30489F #4662C7

Accessibility & contrast

On white

11.83
#223370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#223370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223370
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223370#FFFFFF#000000##FFFFFF
##2233701.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3B72
Deuteranopia (green-blind)
#00346F
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #223370;
/* rgb */ color: rgb(34, 51, 112);
/* oklch */ color: oklch(34.4% 0.108 268.5);
Tailwind
colors: {
  custom: {
    50: '#676a99',
    500: '#223370',
    950: '#000000',
  },
}
SCSS
$custom: #223370;
$custom-light: #676a99;
$custom-dark: #000000;
JSON
{
  "hex": "#223370",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 112
  },
  "hsl": {
    "h": 226.923,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34406,
    "c": 0.10758,
    "h": 268.5
  },
  "luminance": 0.03878
}

Semantic roles & 50–950 ramp

primary
#223370
secondary
#A3904A
accent
#BD4BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #223370

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

Preview Lab → · Contrast checker → · Palette generator →

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