#223BA7#223BA7

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

Color values

HEX#223BA7
RGBrgb(34, 59, 167)
HSLhsl(229, 66%, 39%)
HSVhsv(229, 80%, 65%)
CMYKcmyk(79.6%, 64.7%, 0%, 34.5%)
CIE-LABlab(30.05, 31.04, -60.51)
CIE-LCHlch(30.05, 68.01, 297.16°)
OKLaboklab(40.91% -0.0077 -0.1751)
OKLCHoklch(40.91% 0.175 267.5)
XYZxyz(9.1963, 6.2570, 37.2748)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223BA7 #A78E22
analogous
#227EA7 #223BA7 #4C22A7
triadic
#223BA7 #A7223B #3BA722
tetradic
#223BA7 #A7227E #A78E22 #22A74C
square
#223BA7 #A7227E #A78E22 #22A74C
split-complementary
#223BA7 #A74C22 #7EA722
monochromatic
#0D1741 #182974 #223BA7 #3150D5 #647BDF

Accessibility & contrast

On white

9.33
#223BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#223BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223BA7
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223BA7#FFFFFF#000000##FFFFFF
##223BA71.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#0041A5
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #223ba7;
/* rgb */ color: rgb(34, 59, 167);
/* oklch */ color: oklch(40.9% 0.175 267.5);
Tailwind
colors: {
  custom: {
    50: '#7470c2',
    500: '#223ba7',
    950: '#000000',
  },
}
SCSS
$custom: #223ba7;
$custom-light: #7470c2;
$custom-dark: #000000;
JSON
{
  "hex": "#223ba7",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 167
  },
  "hsl": {
    "h": 228.722,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40908,
    "c": 0.17528,
    "h": 267.5
  },
  "luminance": 0.06258
}

Semantic roles & 50–950 ramp

primary
#223BA7
secondary
#C5B260
accent
#C93FE9
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #223BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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