#223BA0#223BA0

#223BA0 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.3% C 0.166 H 267.4°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#223BA0
RGBrgb(34, 59, 160)
HSLhsl(228, 65%, 38%)
HSVhsv(228, 79%, 63%)
CMYKcmyk(78.8%, 63.1%, 0%, 37.3%)
CIE-LABlab(29.43, 28.38, -57.31)
CIE-LCHlch(29.43, 63.95, 296.34°)
OKLaboklab(40.25% -0.0076 -0.1657)
OKLCHoklch(40.25% 0.166 267.4)
XYZxyz(8.5666, 6.0051, 33.9585)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223BA0 #A08722
analogous
#227AA0 #223BA0 #4822A0
triadic
#223BA0 #A0223B #3BA022
tetradic
#223BA0 #A0227A #A08722 #22A048
square
#223BA0 #A0227A #A08722 #22A048
split-complementary
#223BA0 #A04822 #7AA022
monochromatic
#0D163B #17286E #223BA0 #2D4ED2 #5F78DD

Accessibility & contrast

On white

9.54
#223BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#223BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223BA0
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223BA0#FFFFFF#000000##FFFFFF
##223BA01.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#00409E
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #223ba0;
/* rgb */ color: rgb(34, 59, 160);
/* oklch */ color: oklch(40.3% 0.166 267.4);
Tailwind
colors: {
  custom: {
    50: '#7270bd',
    500: '#223ba0',
    950: '#000000',
  },
}
SCSS
$custom: #223ba0;
$custom-light: #7270bd;
$custom-dark: #000000;
JSON
{
  "hex": "#223ba0",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 160
  },
  "hsl": {
    "h": 228.095,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40253,
    "c": 0.16592,
    "h": 267.4
  },
  "luminance": 0.06006
}

Semantic roles & 50–950 ramp

primary
#223BA0
secondary
#C2AE5C
accent
#C740E8
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #223BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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