#223B8B#223B8B

#223B8B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.4% C 0.137 H 266.7°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#223B8B
RGBrgb(34, 59, 139)
HSLhsl(226, 61%, 34%)
HSVhsv(226, 76%, 55%)
CMYKcmyk(75.5%, 57.6%, 0%, 45.5%)
CIE-LABlab(27.66, 20.22, -47.34)
CIE-LCHlch(27.66, 51.47, 293.13°)
OKLaboklab(38.39% -0.008 -0.1365)
OKLCHoklch(38.39% 0.137 266.7)
XYZxyz(6.8822, 5.3314, 25.0874)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223B8B #8B7222
analogous
#22708B #223B8B #3E228B
triadic
#223B8B #8B223B #3B8B22
tetradic
#223B8B #8B2270 #8B7222 #228B3E
square
#223B8B #8B2270 #8B7222 #228B3E
split-complementary
#223B8B #8B3E22 #708B22
monochromatic
#0A1129 #16265A #223B8B #2E50BC #5372D5

Accessibility & contrast

On white

10.16
#223B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#223B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223B8B
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223B8B#FFFFFF#000000##FFFFFF
##223B8B1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223b8b;
/* rgb */ color: rgb(34, 59, 139);
/* oklch */ color: oklch(38.4% 0.137 266.7);
Tailwind
colors: {
  custom: {
    50: '#6d70ae',
    500: '#223b8b',
    950: '#000000',
  },
}
SCSS
$custom: #223b8b;
$custom-light: #6d70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#223b8b",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 139
  },
  "hsl": {
    "h": 225.714,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38385,
    "c": 0.1367,
    "h": 266.7
  },
  "luminance": 0.05332
}

Semantic roles & 50–950 ramp

primary
#223B8B
secondary
#B8A050
accent
#BE44E4
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #223B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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