#223F8D#223F8D

#223F8D is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.134 H 265.3°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#223F8D
RGBrgb(34, 63, 141)
HSLhsl(224, 61%, 34%)
HSVhsv(224, 76%, 55%)
CMYKcmyk(75.9%, 55.3%, 0%, 44.7%)
CIE-LABlab(28.95, 18.25, -46.48)
CIE-LCHlch(28.95, 49.93, 291.43°)
OKLaboklab(39.41% -0.0111 -0.1339)
OKLCHoklch(39.41% 0.134 265.3)
XYZxyz(7.2432, 5.8174, 25.9353)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F8D #8D7022
analogous
#22758D #223F8D #3A228D
triadic
#223F8D #8D223F #3F8D22
tetradic
#223F8D #8D2275 #8D7022 #228D3A
square
#223F8D #8D2275 #8D7022 #228D3A
split-complementary
#223F8D #8D3A22 #758D22
monochromatic
#0A132A #16295C #223F8D #2E55BE #5477D6

Accessibility & contrast

On white

9.71
#223F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#223F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223F8D
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F8D#FFFFFF#000000##FFFFFF
##223F8D1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014990
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #223f8d;
/* rgb */ color: rgb(34, 63, 141);
/* oklch */ color: oklch(39.4% 0.134 265.3);
Tailwind
colors: {
  custom: {
    50: '#6d73af',
    500: '#223f8d',
    950: '#000000',
  },
}
SCSS
$custom: #223f8d;
$custom-light: #6d73af;
$custom-dark: #000000;
JSON
{
  "hex": "#223f8d",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 141
  },
  "hsl": {
    "h": 223.738,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39406,
    "c": 0.13435,
    "h": 265.3
  },
  "luminance": 0.05818
}

Semantic roles & 50–950 ramp

primary
#223F8D
secondary
#B99D51
accent
#B944E4
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #223F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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