#223D66#223D66

#223D66 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.0% C 0.079 H 258.5°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#223D66
RGBrgb(34, 61, 102)
HSLhsl(216, 50%, 27%)
HSVhsv(216, 67%, 40%)
CMYKcmyk(66.7%, 40.2%, 0%, 60%)
CIE-LABlab(25.67, 4.24, -27.17)
CIE-LCHlch(25.67, 27.50, 278.86°)
OKLaboklab(36.04% -0.0157 -0.0772)
OKLCHoklch(36.04% 0.079 258.5)
XYZxyz(4.7259, 4.6364, 13.2137)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D66 #664B22
analogous
#225F66 #223D66 #292266
triadic
#223D66 #66223D #3D6622
tetradic
#223D66 #66225F #664B22 #226629
square
#223D66 #66225F #664B22 #226629
split-complementary
#223D66 #662922 #5F6622
monochromatic
#080E17 #132238 #223D66 #315894 #4274C0

Accessibility & contrast

On white

10.90
#223D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#223D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223D66
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D66#FFFFFF#000000##FFFFFF
##223D661.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4068
Deuteranopia (green-blind)
#223A65
Tritanopia (blue-blind)
#00464C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #223d66;
/* rgb */ color: rgb(34, 61, 102);
/* oklch */ color: oklch(36.0% 0.079 258.5);
Tailwind
colors: {
  custom: {
    50: '#657292',
    500: '#223d66',
    950: '#000000',
  },
}
SCSS
$custom: #223d66;
$custom-light: #657292;
$custom-dark: #000000;
JSON
{
  "hex": "#223d66",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 102
  },
  "hsl": {
    "h": 216.176,
    "s": 50,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3604,
    "c": 0.07874,
    "h": 258.5
  },
  "luminance": 0.04637
}

Semantic roles & 50–950 ramp

primary
#223D66
secondary
#9A7A4A
accent
#A24EDA
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #223D66

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

Preview Lab → · Contrast checker → · Palette generator →

#223D66 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva