#223C99#223C99

#223C99 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.155 H 267.0°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#223C99
RGBrgb(34, 60, 153)
HSLhsl(227, 64%, 37%)
HSVhsv(227, 78%, 60%)
CMYKcmyk(77.8%, 60.8%, 0%, 40%)
CIE-LABlab(29.08, 25.01, -53.62)
CIE-LCHlch(29.08, 59.16, 295.00°)
OKLaboklab(39.81% -0.0082 -0.1549)
OKLCHoklch(39.81% 0.155 267)
XYZxyz(8.0233, 5.8708, 30.8411)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C99 #997F22
analogous
#227899 #223C99 #442299
triadic
#223C99 #99223C #3C9922
tetradic
#223C99 #992278 #997F22 #229944
square
#223C99 #992278 #997F22 #229944
split-complementary
#223C99 #994422 #789922
monochromatic
#0C1535 #172867 #223C99 #2D50CB #5B77DB

Accessibility & contrast

On white

9.66
#223C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#223C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C99
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C99#FFFFFF#000000##FFFFFF
##223C991.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #223c99;
/* rgb */ color: rgb(34, 60, 153);
/* oklch */ color: oklch(39.8% 0.155 267.0);
Tailwind
colors: {
  custom: {
    50: '#7071b8',
    500: '#223c99',
    950: '#000000',
  },
}
SCSS
$custom: #223c99;
$custom-light: #7071b8;
$custom-dark: #000000;
JSON
{
  "hex": "#223c99",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 153
  },
  "hsl": {
    "h": 226.891,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39812,
    "c": 0.15512,
    "h": 267
  },
  "luminance": 0.05872
}

Semantic roles & 50–950 ramp

primary
#223C99
secondary
#BFA858
accent
#C241E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223C99

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

Preview Lab → · Contrast checker → · Palette generator →

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