#223FA7#223FA7

#223FA7 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.170 H 266.6°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#223FA7
RGBrgb(34, 63, 167)
HSLhsl(227, 66%, 39%)
HSVhsv(227, 80%, 65%)
CMYKcmyk(79.6%, 62.3%, 0%, 34.5%)
CIE-LABlab(31.08, 28.39, -58.83)
CIE-LCHlch(31.08, 65.32, 295.76°)
OKLaboklab(41.67% -0.0101 -0.1702)
OKLCHoklch(41.67% 0.17 266.6)
XYZxyz(9.4098, 6.6840, 37.3459)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223FA7 #A78A22
analogous
#2282A7 #223FA7 #4722A7
triadic
#223FA7 #A7223F #3FA722
tetradic
#223FA7 #A72282 #A78A22 #22A747
square
#223FA7 #A72282 #A78A22 #22A747
split-complementary
#223FA7 #A74722 #82A722
monochromatic
#0D1941 #182C74 #223FA7 #3155D5 #647FDF

Accessibility & contrast

On white

8.99
#223FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#223FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223FA7
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223FA7#FFFFFF#000000##FFFFFF
##223FA71.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#0043A5
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #223fa7;
/* rgb */ color: rgb(34, 63, 167);
/* oklch */ color: oklch(41.7% 0.170 266.6);
Tailwind
colors: {
  custom: {
    50: '#7473c2',
    500: '#223fa7',
    950: '#000000',
  },
}
SCSS
$custom: #223fa7;
$custom-light: #7473c2;
$custom-dark: #000000;
JSON
{
  "hex": "#223fa7",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 226.917,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41666,
    "c": 0.17046,
    "h": 266.6
  },
  "luminance": 0.06685
}

Semantic roles & 50–950 ramp

primary
#223FA7
secondary
#C5AF60
accent
#C43FE9
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #223FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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