#223FA6#223FA6

#223FA6 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.6% C 0.169 H 266.6°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#223FA6
RGBrgb(34, 63, 166)
HSLhsl(227, 66%, 39%)
HSVhsv(227, 80%, 65%)
CMYKcmyk(79.5%, 62%, 0%, 34.9%)
CIE-LABlab(30.99, 28.00, -58.37)
CIE-LCHlch(30.99, 64.74, 295.63°)
OKLaboklab(41.58% -0.0101 -0.1688)
OKLCHoklch(41.58% 0.169 266.6)
XYZxyz(9.3177, 6.6472, 36.8610)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223FA6 #A68922
analogous
#2281A6 #223FA6 #4722A6
triadic
#223FA6 #A6223F #3FA622
tetradic
#223FA6 #A62281 #A68922 #22A647
square
#223FA6 #A62281 #A68922 #22A647
split-complementary
#223FA6 #A64722 #81A622
monochromatic
#0D1840 #182C73 #223FA6 #3055D5 #637EDF

Accessibility & contrast

On white

9.01
#223FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#223FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223FA6
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223FA6#FFFFFF#000000##FFFFFF
##223FA61.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#0043A4
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #223fa6;
/* rgb */ color: rgb(34, 63, 166);
/* oklch */ color: oklch(41.6% 0.169 266.6);
Tailwind
colors: {
  custom: {
    50: '#7373c1',
    500: '#223fa6',
    950: '#000000',
  },
}
SCSS
$custom: #223fa6;
$custom-light: #7373c1;
$custom-dark: #000000;
JSON
{
  "hex": "#223fa6",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 166
  },
  "hsl": {
    "h": 226.818,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41575,
    "c": 0.16911,
    "h": 266.6
  },
  "luminance": 0.06648
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #223FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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