#223FAF#223FAF

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

Color values

HEX#223FAF
RGBrgb(34, 63, 175)
HSLhsl(228, 67%, 41%)
HSVhsv(228, 81%, 69%)
CMYKcmyk(80.6%, 64%, 0%, 31.4%)
CIE-LABlab(31.78, 31.43, -62.46)
CIE-LCHlch(31.78, 69.93, 296.71°)
OKLaboklab(42.41% -0.0102 -0.1808)
OKLCHoklch(42.41% 0.181 266.8)
XYZxyz(10.1723, 6.9890, 41.3620)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223FAF #AF9222
analogous
#2285AF #223FAF #4C22AF
triadic
#223FAF #AF223F #3FAF22
tetradic
#223FAF #AF2285 #AF9222 #22AF4C
square
#223FAF #AF2285 #AF9222 #22AF4C
split-complementary
#223FAF #AF4C22 #85AF22
monochromatic
#0E1A49 #182D7C #223FAF #3657D8 #6982E2

Accessibility & contrast

On white

8.76
#223FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#223FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223FAF
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223FAF#FFFFFF#000000##FFFFFF
##223FAF1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #223faf;
/* rgb */ color: rgb(34, 63, 175);
/* oklch */ color: oklch(42.4% 0.181 266.8);
Tailwind
colors: {
  custom: {
    50: '#7673c8',
    500: '#223faf',
    950: '#000000',
  },
}
SCSS
$custom: #223faf;
$custom-light: #7673c8;
$custom-dark: #000000;
JSON
{
  "hex": "#223faf",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 227.66,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42405,
    "c": 0.18108,
    "h": 266.8
  },
  "luminance": 0.0699
}

Semantic roles & 50–950 ramp

primary
#223FAF
secondary
#C8B365
accent
#C73DEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #223FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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