#223FA4#223FA4

#223FA4 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.166 H 266.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#223FA4
RGBrgb(34, 63, 164)
HSLhsl(227, 66%, 39%)
HSVhsv(227, 79%, 64%)
CMYKcmyk(79.3%, 61.6%, 0%, 35.7%)
CIE-LABlab(30.82, 27.24, -57.45)
CIE-LCHlch(30.82, 63.58, 295.36°)
OKLaboklab(41.39% -0.0101 -0.1661)
OKLCHoklch(41.39% 0.166 266.5)
XYZxyz(9.1357, 6.5744, 35.9023)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223FA4 #A48722
analogous
#2280A4 #223FA4 #4622A4
triadic
#223FA4 #A4223F #3FA422
tetradic
#223FA4 #A42280 #A48722 #22A446
square
#223FA4 #A42280 #A48722 #22A446
split-complementary
#223FA4 #A44622 #80A422
monochromatic
#0D183F #172C71 #223FA4 #2F54D4 #627EDE

Accessibility & contrast

On white

9.07
#223FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#223FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223FA4
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223FA4#FFFFFF#000000##FFFFFF
##223FA41.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0043A2
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #223fa4;
/* rgb */ color: rgb(34, 63, 164);
/* oklch */ color: oklch(41.4% 0.166 266.5);
Tailwind
colors: {
  custom: {
    50: '#7373c0',
    500: '#223fa4',
    950: '#000000',
  },
}
SCSS
$custom: #223fa4;
$custom-light: #7373c0;
$custom-dark: #000000;
JSON
{
  "hex": "#223fa4",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 226.615,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41394,
    "c": 0.16642,
    "h": 266.5
  },
  "luminance": 0.06575
}

Semantic roles & 50–950 ramp

primary
#223FA4
secondary
#C4AD5E
accent
#C33FE9
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #223FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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