#223F71#223F71

#223F71 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.3% C 0.093 H 260.5°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#223F71
RGBrgb(34, 63, 113)
HSLhsl(218, 54%, 29%)
HSVhsv(218, 70%, 44%)
CMYKcmyk(69.9%, 44.2%, 0%, 55.7%)
CIE-LABlab(26.98, 7.15, -32.13)
CIE-LCHlch(26.98, 32.91, 282.55°)
OKLaboklab(37.27% -0.0153 -0.0917)
OKLCHoklch(37.27% 0.093 260.5)
XYZxyz(5.4168, 5.0868, 16.3160)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F71 #715422
analogous
#226771 #223F71 #2D2271
triadic
#223F71 #71223F #3F7122
tetradic
#223F71 #712267 #715422 #22712D
square
#223F71 #712267 #715422 #22712D
split-complementary
#223F71 #712D22 #677122
monochromatic
#070D18 #142542 #223F71 #3059A0 #4676C7

Accessibility & contrast

On white

10.41
#223F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#223F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223F71
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F71#FFFFFF#000000##FFFFFF
##223F711.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284473
Deuteranopia (green-blind)
#1B3C70
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223f71;
/* rgb */ color: rgb(34, 63, 113);
/* oklch */ color: oklch(37.3% 0.093 260.5);
Tailwind
colors: {
  custom: {
    50: '#67739a',
    500: '#223f71',
    950: '#000000',
  },
}
SCSS
$custom: #223f71;
$custom-light: #67739a;
$custom-dark: #000000;
JSON
{
  "hex": "#223f71",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 113
  },
  "hsl": {
    "h": 217.975,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37274,
    "c": 0.09292,
    "h": 260.5
  },
  "luminance": 0.05087
}

Semantic roles & 50–950 ramp

primary
#223F71
secondary
#A4834A
accent
#A74BDD
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #223F71

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

Preview Lab → · Contrast checker → · Palette generator →

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