#223C8B#223C8B

#223C8B is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.135 H 266.3°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#223C8B
RGBrgb(34, 60, 139)
HSLhsl(225, 61%, 34%)
HSVhsv(225, 76%, 55%)
CMYKcmyk(75.5%, 56.8%, 0%, 45.5%)
CIE-LABlab(27.94, 19.53, -46.88)
CIE-LCHlch(27.94, 50.78, 292.61°)
OKLaboklab(38.6% -0.0088 -0.1351)
OKLCHoklch(38.6% 0.135 266.3)
XYZxyz(6.9341, 5.4351, 25.1047)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C8B #8B7122
analogous
#22718B #223C8B #3D228B
triadic
#223C8B #8B223C #3C8B22
tetradic
#223C8B #8B2271 #8B7122 #228B3D
square
#223C8B #8B2271 #8B7122 #228B3D
split-complementary
#223C8B #8B3D22 #718B22
monochromatic
#0A1229 #16275A #223C8B #2E51BC #5373D5

Accessibility & contrast

On white

10.06
#223C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223C8B
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C8B#FFFFFF#000000##FFFFFF
##223C8B1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223c8b;
/* rgb */ color: rgb(34, 60, 139);
/* oklch */ color: oklch(38.6% 0.135 266.3);
Tailwind
colors: {
  custom: {
    50: '#6d71ae',
    500: '#223c8b',
    950: '#000000',
  },
}
SCSS
$custom: #223c8b;
$custom-light: #6d71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#223c8b",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 139
  },
  "hsl": {
    "h": 225.143,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38597,
    "c": 0.13539,
    "h": 266.3
  },
  "luminance": 0.05436
}

Semantic roles & 50–950 ramp

primary
#223C8B
secondary
#B89F50
accent
#BC44E4
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #223C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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