#223F6F#223F6F

#223F6F is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.1% C 0.090 H 259.9°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#223F6F
RGBrgb(34, 63, 111)
HSLhsl(217, 53%, 28%)
HSVhsv(217, 69%, 44%)
CMYKcmyk(69.4%, 43.2%, 0%, 56.5%)
CIE-LABlab(26.85, 6.37, -31.05)
CIE-LCHlch(26.85, 31.70, 281.59°)
OKLaboklab(37.14% -0.0157 -0.0885)
OKLCHoklch(37.14% 0.09 259.9)
XYZxyz(5.3054, 5.0423, 15.7295)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F6F #6F5222
analogous
#22656F #223F6F #2C226F
triadic
#223F6F #6F223F #3F6F22
tetradic
#223F6F #6F2265 #6F5222 #226F2C
square
#223F6F #6F2265 #6F5222 #226F2C
split-complementary
#223F6F #6F2C22 #656F22
monochromatic
#070D17 #142440 #223F6F #305A9E #4576C6

Accessibility & contrast

On white

10.46
#223F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#223F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223F6F
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F6F#FFFFFF#000000##FFFFFF
##223F6F1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294371
Deuteranopia (green-blind)
#1D3C6E
Tritanopia (blue-blind)
#004A51
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223f6f;
/* rgb */ color: rgb(34, 63, 111);
/* oklch */ color: oklch(37.1% 0.090 259.9);
Tailwind
colors: {
  custom: {
    50: '#667398',
    500: '#223f6f',
    950: '#000000',
  },
}
SCSS
$custom: #223f6f;
$custom-light: #667398;
$custom-dark: #000000;
JSON
{
  "hex": "#223f6f",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 111
  },
  "hsl": {
    "h": 217.403,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37136,
    "c": 0.0899,
    "h": 259.9
  },
  "luminance": 0.05043
}

Semantic roles & 50–950 ramp

primary
#223F6F
secondary
#A2814A
accent
#A64BDD
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #223F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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