#223F7F#223F7F

#223F7F is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.3% C 0.114 H 263.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#223F7F
RGBrgb(34, 63, 127)
HSLhsl(221, 58%, 32%)
HSVhsv(221, 73%, 50%)
CMYKcmyk(73.2%, 50.4%, 0%, 50.2%)
CIE-LABlab(27.92, 12.69, -39.45)
CIE-LCHlch(27.92, 41.44, 287.84°)
OKLaboklab(38.3% -0.0127 -0.1132)
OKLCHoklch(38.3% 0.114 263.6)
XYZxyz(6.2666, 5.4267, 20.7918)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F7F #7F6222
analogous
#226E7F #223F7F #34227F
triadic
#223F7F #7F223F #3F7F22
tetradic
#223F7F #7F226E #7F6222 #227F34
square
#223F7F #7F226E #7F6222 #227F34
split-complementary
#223F7F #7F3422 #6E7F22
monochromatic
#080F1E #15274F #223F7F #2F57AF #4C75CF

Accessibility & contrast

On white

10.07
#223F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#223F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223F7F
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F7F#FFFFFF#000000##FFFFFF
##223F7F1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4681
Deuteranopia (green-blind)
#013E7E
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #223f7f;
/* rgb */ color: rgb(34, 63, 127);
/* oklch */ color: oklch(38.3% 0.114 263.6);
Tailwind
colors: {
  custom: {
    50: '#6a73a5',
    500: '#223f7f',
    950: '#000000',
  },
}
SCSS
$custom: #223f7f;
$custom-light: #6a73a5;
$custom-dark: #000000;
JSON
{
  "hex": "#223f7f",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 127
  },
  "hsl": {
    "h": 221.29,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38296,
    "c": 0.11391,
    "h": 263.6
  },
  "luminance": 0.05427
}

Semantic roles & 50–950 ramp

primary
#223F7F
secondary
#B2924B
accent
#B147E1
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #223F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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