#223BA8#223BA8

#223BA8 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.177 H 267.5°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#223BA8
RGBrgb(34, 59, 168)
HSLhsl(229, 66%, 40%)
HSVhsv(229, 80%, 66%)
CMYKcmyk(79.8%, 64.9%, 0%, 34.1%)
CIE-LABlab(30.14, 31.42, -60.96)
CIE-LCHlch(30.14, 68.58, 297.27°)
OKLaboklab(41% -0.0078 -0.1764)
OKLCHoklch(41% 0.177 267.5)
XYZxyz(9.2891, 6.2941, 37.7635)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223BA8 #A88F22
analogous
#227EA8 #223BA8 #4C22A8
triadic
#223BA8 #A8223B #3BA822
tetradic
#223BA8 #A8227E #A88F22 #22A84C
square
#223BA8 #A8227E #A88F22 #22A84C
split-complementary
#223BA8 #A84C22 #7EA822
monochromatic
#0D1742 #182975 #223BA8 #3250D5 #657CE0

Accessibility & contrast

On white

9.30
#223BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#223BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223BA8
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223BA8#FFFFFF#000000##FFFFFF
##223BA81.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0041A6
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #223ba8;
/* rgb */ color: rgb(34, 59, 168);
/* oklch */ color: oklch(41.0% 0.177 267.5);
Tailwind
colors: {
  custom: {
    50: '#7470c3',
    500: '#223ba8',
    950: '#000000',
  },
}
SCSS
$custom: #223ba8;
$custom-light: #7470c3;
$custom-dark: #000000;
JSON
{
  "hex": "#223ba8",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 168
  },
  "hsl": {
    "h": 228.806,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41003,
    "c": 0.17661,
    "h": 267.5
  },
  "luminance": 0.06295
}

Semantic roles & 50–950 ramp

primary
#223BA8
secondary
#C5B261
accent
#C93FE9
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #223BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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