#223366#223366

#223366 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.6% C 0.092 H 267.4°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#223366
RGBrgb(34, 51, 102)
HSLhsl(225, 50%, 27%)
HSVhsv(225, 67%, 40%)
CMYKcmyk(66.7%, 50%, 0%, 60%)
CIE-LABlab(22.54, 11.23, -32.17)
CIE-LCHlch(22.54, 34.07, 289.25°)
OKLaboklab(33.62% -0.0041 -0.092)
OKLCHoklch(33.62% 0.092 267.4)
XYZxyz(4.2410, 3.6667, 13.0520)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223366 #665522
analogous
#225566 #223366 #332266
triadic
#223366 #662233 #336622
tetradic
#223366 #662255 #665522 #226633
square
#223366 #662255 #665522 #226633
split-complementary
#223366 #663322 #556622
monochromatic
#080B17 #131C38 #223366 #314A94 #4262C0

Accessibility & contrast

On white

12.11
#223366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#223366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223366
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223366#FFFFFF#000000##FFFFFF
##2233661.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3968
Deuteranopia (green-blind)
#0D3365
Tritanopia (blue-blind)
#003F47
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #223366;
/* rgb */ color: rgb(34, 51, 102);
/* oklch */ color: oklch(33.6% 0.092 267.4);
Tailwind
colors: {
  custom: {
    50: '#656a92',
    500: '#223366',
    950: '#000000',
  },
}
SCSS
$custom: #223366;
$custom-light: #656a92;
$custom-dark: #000000;
JSON
{
  "hex": "#223366",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 102
  },
  "hsl": {
    "h": 225,
    "s": 50,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33624,
    "c": 0.09207,
    "h": 267.4
  },
  "luminance": 0.03667
}

Semantic roles & 50–950 ramp

primary
#223366
secondary
#9A864A
accent
#B74EDA
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #223366

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

Preview Lab → · Contrast checker → · Palette generator →

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