#223BA6#223BA6

#223BA6 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.174 H 267.5°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#223BA6
RGBrgb(34, 59, 166)
HSLhsl(229, 66%, 39%)
HSVhsv(229, 80%, 65%)
CMYKcmyk(79.5%, 64.5%, 0%, 34.9%)
CIE-LABlab(29.96, 30.66, -60.06)
CIE-LCHlch(29.96, 67.43, 297.05°)
OKLaboklab(40.81% -0.0077 -0.1738)
OKLCHoklch(40.81% 0.174 267.5)
XYZxyz(9.1042, 6.2201, 36.7898)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223BA6 #A68D22
analogous
#227DA6 #223BA6 #4B22A6
triadic
#223BA6 #A6223B #3BA622
tetradic
#223BA6 #A6227D #A68D22 #22A64B
square
#223BA6 #A6227D #A68D22 #22A64B
split-complementary
#223BA6 #A64B22 #7DA622
monochromatic
#0D1740 #182973 #223BA6 #3050D5 #637BDF

Accessibility & contrast

On white

9.36
#223BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#223BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223BA6
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223BA6#FFFFFF#000000##FFFFFF
##223BA61.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA9
Deuteranopia (green-blind)
#0040A4
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #223ba6;
/* rgb */ color: rgb(34, 59, 166);
/* oklch */ color: oklch(40.8% 0.174 267.5);
Tailwind
colors: {
  custom: {
    50: '#7470c1',
    500: '#223ba6',
    950: '#000000',
  },
}
SCSS
$custom: #223ba6;
$custom-light: #7470c1;
$custom-dark: #000000;
JSON
{
  "hex": "#223ba6",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 166
  },
  "hsl": {
    "h": 228.636,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40814,
    "c": 0.17396,
    "h": 267.5
  },
  "luminance": 0.06221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #223BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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