#223CAF#223CAF

#223CAF is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.185 H 267.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#223CAF
RGBrgb(34, 60, 175)
HSLhsl(229, 67%, 41%)
HSVhsv(229, 81%, 69%)
CMYKcmyk(80.6%, 65.7%, 0%, 31.4%)
CIE-LABlab(31.03, 33.40, -63.69)
CIE-LCHlch(31.03, 71.92, 297.67°)
OKLaboklab(41.85% -0.0086 -0.1844)
OKLCHoklch(41.85% 0.185 267.3)
XYZxyz(10.0107, 6.6658, 41.3081)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223CAF #AF9522
analogous
#2282AF #223CAF #4E22AF
triadic
#223CAF #AF223C #3CAF22
tetradic
#223CAF #AF2282 #AF9522 #22AF4E
square
#223CAF #AF2282 #AF9522 #22AF4E
split-complementary
#223CAF #AF4E22 #82AF22
monochromatic
#0E1949 #182A7C #223CAF #3654D8 #6980E2

Accessibility & contrast

On white

9.00
#223CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223CAF
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223CAF#FFFFFF#000000##FFFFFF
##223CAF1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #223caf;
/* rgb */ color: rgb(34, 60, 175);
/* oklch */ color: oklch(41.9% 0.185 267.3);
Tailwind
colors: {
  custom: {
    50: '#7671c8',
    500: '#223caf',
    950: '#000000',
  },
}
SCSS
$custom: #223caf;
$custom-light: #7671c8;
$custom-dark: #000000;
JSON
{
  "hex": "#223caf",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 228.936,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41854,
    "c": 0.18461,
    "h": 267.3
  },
  "luminance": 0.06667
}

Semantic roles & 50–950 ramp

primary
#223CAF
secondary
#C8B665
accent
#CA3DEA
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #223CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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