#223FB3#223FB3

#223FB3 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.8% C 0.186 H 266.8°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#223FB3
RGBrgb(34, 63, 179)
HSLhsl(228, 68%, 42%)
HSVhsv(228, 81%, 70%)
CMYKcmyk(81%, 64.8%, 0%, 29.8%)
CIE-LABlab(32.14, 32.94, -64.25)
CIE-LCHlch(32.14, 72.21, 297.14°)
OKLaboklab(42.78% -0.0103 -0.186)
OKLCHoklch(42.78% 0.186 266.8)
XYZxyz(10.5710, 7.1485, 43.4617)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223FB3 #B39622
analogous
#2288B3 #223FB3 #4E22B3
triadic
#223FB3 #B3223F #3FB322
tetradic
#223FB3 #B32288 #B39622 #22B34E
square
#223FB3 #B32288 #B39622 #22B34E
split-complementary
#223FB3 #B34E22 #88B322
monochromatic
#0E1B4C #182D80 #223FB3 #3959D9 #6C84E3

Accessibility & contrast

On white

8.64
#223FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#223FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223FB3
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223FB3#FFFFFF#000000##FFFFFF
##223FB31.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #223fb3;
/* rgb */ color: rgb(34, 63, 179);
/* oklch */ color: oklch(42.8% 0.186 266.8);
Tailwind
colors: {
  custom: {
    50: '#7774cb',
    500: '#223fb3',
    950: '#000000',
  },
}
SCSS
$custom: #223fb3;
$custom-light: #7774cb;
$custom-dark: #000000;
JSON
{
  "hex": "#223fb3",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 228,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42782,
    "c": 0.18631,
    "h": 266.8
  },
  "luminance": 0.0715
}

Semantic roles & 50–950 ramp

primary
#223FB3
secondary
#C9B668
accent
#C83DEB
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #223FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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