#223966#223966

#223966 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.1% C 0.084 H 262.5°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#223966
RGBrgb(34, 57, 102)
HSLhsl(220, 50%, 27%)
HSVhsv(220, 67%, 40%)
CMYKcmyk(66.7%, 44.1%, 0%, 60%)
CIE-LABlab(24.40, 7.00, -29.19)
CIE-LCHlch(24.40, 30.02, 283.49°)
OKLaboklab(35.06% -0.011 -0.0831)
OKLCHoklch(35.06% 0.084 262.5)
XYZxyz(4.5202, 4.2252, 13.1451)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223966 #664F22
analogous
#225B66 #223966 #2D2266
triadic
#223966 #662239 #396622
tetradic
#223966 #66225B #664F22 #22662D
square
#223966 #66225B #664F22 #22662D
split-complementary
#223966 #662D22 #5B6622
monochromatic
#080D17 #131F38 #223966 #315394 #426DC0

Accessibility & contrast

On white

11.38
#223966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#223966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223966
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223966#FFFFFF#000000##FFFFFF
##2239661.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253D68
Deuteranopia (green-blind)
#1B3765
Tritanopia (blue-blind)
#00434A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #223966;
/* rgb */ color: rgb(34, 57, 102);
/* oklch */ color: oklch(35.1% 0.084 262.5);
Tailwind
colors: {
  custom: {
    50: '#656f92',
    500: '#223966',
    950: '#000000',
  },
}
SCSS
$custom: #223966;
$custom-light: #656f92;
$custom-dark: #000000;
JSON
{
  "hex": "#223966",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 102
  },
  "hsl": {
    "h": 219.706,
    "s": 50,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35056,
    "c": 0.08385,
    "h": 262.5
  },
  "luminance": 0.04226
}

Semantic roles & 50–950 ramp

primary
#223966
secondary
#9A7F4A
accent
#AA4EDA
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #223966

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

Preview Lab → · Contrast checker → · Palette generator →

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