#223FAE#223FAE

#223FAE is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.3% C 0.180 H 266.8°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#223FAE
RGBrgb(34, 63, 174)
HSLhsl(228, 67%, 41%)
HSVhsv(228, 80%, 68%)
CMYKcmyk(80.5%, 63.8%, 0%, 31.8%)
CIE-LABlab(31.69, 31.06, -62.01)
CIE-LCHlch(31.69, 69.36, 296.60°)
OKLaboklab(42.31% -0.0102 -0.1795)
OKLCHoklch(42.31% 0.18 266.8)
XYZxyz(10.0745, 6.9499, 40.8467)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223FAE #AE9122
analogous
#2285AE #223FAE #4B22AE
triadic
#223FAE #AE223F #3FAE22
tetradic
#223FAE #AE2285 #AE9122 #22AE4B
square
#223FAE #AE2285 #AE9122 #22AE4B
split-complementary
#223FAE #AE4B22 #85AE22
monochromatic
#0E1A48 #182C7B #223FAE #3657D8 #6982E2

Accessibility & contrast

On white

8.79
#223FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#223FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223FAE
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223FAE#FFFFFF#000000##FFFFFF
##223FAE1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #223fae;
/* rgb */ color: rgb(34, 63, 174);
/* oklch */ color: oklch(42.3% 0.180 266.8);
Tailwind
colors: {
  custom: {
    50: '#7673c7',
    500: '#223fae',
    950: '#000000',
  },
}
SCSS
$custom: #223fae;
$custom-light: #7673c7;
$custom-dark: #000000;
JSON
{
  "hex": "#223fae",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 174
  },
  "hsl": {
    "h": 227.571,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42312,
    "c": 0.17977,
    "h": 266.8
  },
  "luminance": 0.06951
}

Semantic roles & 50–950 ramp

primary
#223FAE
secondary
#C7B364
accent
#C63EEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #223FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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