#223B8F#223B8F

#223B8F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.142 H 266.9°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#223B8F
RGBrgb(34, 59, 143)
HSLhsl(226, 62%, 35%)
HSVhsv(226, 76%, 56%)
CMYKcmyk(76.2%, 58.7%, 0%, 43.9%)
CIE-LABlab(27.98, 21.79, -49.28)
CIE-LCHlch(27.98, 53.88, 293.85°)
OKLaboklab(38.73% -0.0078 -0.1422)
OKLCHoklch(38.73% 0.142 266.9)
XYZxyz(7.1798, 5.4504, 26.6549)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223B8F #8F7622
analogous
#22718F #223B8F #40228F
triadic
#223B8F #8F223B #3B8F22
tetradic
#223B8F #8F2271 #8F7622 #228F40
square
#223B8F #8F2271 #8F7622 #228F40
split-complementary
#223B8F #8F4022 #718F22
monochromatic
#0A122C #16275E #223B8F #2E4FC0 #5573D7

Accessibility & contrast

On white

10.05
#223B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#223B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223B8F
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223B8F#FFFFFF#000000##FFFFFF
##223B8F1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #223b8f;
/* rgb */ color: rgb(34, 59, 143);
/* oklch */ color: oklch(38.7% 0.142 266.9);
Tailwind
colors: {
  custom: {
    50: '#6e70b0',
    500: '#223b8f',
    950: '#000000',
  },
}
SCSS
$custom: #223b8f;
$custom-light: #6e70b0;
$custom-dark: #000000;
JSON
{
  "hex": "#223b8f",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 143
  },
  "hsl": {
    "h": 226.239,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38729,
    "c": 0.1424,
    "h": 266.9
  },
  "luminance": 0.05451
}

Semantic roles & 50–950 ramp

primary
#223B8F
secondary
#BAA352
accent
#C043E5
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #223B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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