#223FA9#223FA9

#223FA9 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.173 H 266.7°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#223FA9
RGBrgb(34, 63, 169)
HSLhsl(227, 67%, 40%)
HSVhsv(227, 80%, 66%)
CMYKcmyk(79.9%, 62.7%, 0%, 33.7%)
CIE-LABlab(31.25, 29.15, -59.75)
CIE-LCHlch(31.25, 66.48, 296.01°)
OKLaboklab(41.85% -0.0101 -0.1728)
OKLCHoklch(41.85% 0.173 266.7)
XYZxyz(9.5961, 6.7586, 38.3272)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223FA9 #A98C22
analogous
#2283A9 #223FA9 #4922A9
triadic
#223FA9 #A9223F #3FA922
tetradic
#223FA9 #A92283 #A98C22 #22A949
square
#223FA9 #A92283 #A98C22 #22A949
split-complementary
#223FA9 #A94922 #83A922
monochromatic
#0D1943 #182C76 #223FA9 #3255D6 #6580E0

Accessibility & contrast

On white

8.93
#223FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#223FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223FA9
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223FA9#FFFFFF#000000##FFFFFF
##223FA91.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#0043A7
Tritanopia (blue-blind)
#005B6E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #223fa9;
/* rgb */ color: rgb(34, 63, 169);
/* oklch */ color: oklch(41.8% 0.173 266.7);
Tailwind
colors: {
  custom: {
    50: '#7473c3',
    500: '#223fa9',
    950: '#000000',
  },
}
SCSS
$custom: #223fa9;
$custom-light: #7473c3;
$custom-dark: #000000;
JSON
{
  "hex": "#223fa9",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 169
  },
  "hsl": {
    "h": 227.111,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41849,
    "c": 0.17313,
    "h": 266.7
  },
  "luminance": 0.0676
}

Semantic roles & 50–950 ramp

primary
#223FA9
secondary
#C5B061
accent
#C53EE9
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #223FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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