#223F6E#223F6E

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

Color values

HEX#223F6E
RGBrgb(34, 63, 110)
HSLhsl(217, 53%, 28%)
HSVhsv(217, 69%, 43%)
CMYKcmyk(69.1%, 42.7%, 0%, 56.9%)
CIE-LABlab(26.79, 5.98, -30.52)
CIE-LCHlch(26.79, 31.10, 281.08°)
OKLaboklab(37.07% -0.0159 -0.0869)
OKLCHoklch(37.07% 0.088 259.6)
XYZxyz(5.2507, 5.0204, 15.4411)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F6E #6E5122
analogous
#22656E #223F6E #2B226E
triadic
#223F6E #6E223F #3F6E22
tetradic
#223F6E #6E2265 #6E5122 #226E2B
square
#223F6E #6E2265 #6E5122 #226E2B
split-complementary
#223F6E #6E2B22 #656E22
monochromatic
#070D17 #14243F #223F6E #305A9D #4576C5

Accessibility & contrast

On white

10.48
#223F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#223F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223F6E
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F6E#FFFFFF#000000##FFFFFF
##223F6E1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4370
Deuteranopia (green-blind)
#1E3C6D
Tritanopia (blue-blind)
#004A51
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223f6e;
/* rgb */ color: rgb(34, 63, 110);
/* oklch */ color: oklch(37.1% 0.088 259.6);
Tailwind
colors: {
  custom: {
    50: '#667398',
    500: '#223f6e',
    950: '#000000',
  },
}
SCSS
$custom: #223f6e;
$custom-light: #667398;
$custom-dark: #000000;
JSON
{
  "hex": "#223f6e",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 110
  },
  "hsl": {
    "h": 217.105,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37067,
    "c": 0.08839,
    "h": 259.6
  },
  "luminance": 0.05021
}

Semantic roles & 50–950 ramp

primary
#223F6E
secondary
#A1804A
accent
#A54CDC
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #223F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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