#223B8A#223B8A

#223B8A is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.135 H 266.6°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#223B8A
RGBrgb(34, 59, 138)
HSLhsl(226, 60%, 34%)
HSVhsv(226, 75%, 54%)
CMYKcmyk(75.4%, 57.2%, 0%, 45.9%)
CIE-LABlab(27.58, 19.82, -46.85)
CIE-LCHlch(27.58, 50.87, 292.94°)
OKLaboklab(38.3% -0.008 -0.135)
OKLCHoklch(38.3% 0.135 266.6)
XYZxyz(6.8095, 5.3023, 24.7044)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223B8A #8A7122
analogous
#226F8A #223B8A #3D228A
triadic
#223B8A #8A223B #3B8A22
tetradic
#223B8A #8A226F #8A7122 #228A3D
square
#223B8A #8A226F #8A7122 #228A3D
split-complementary
#223B8A #8A3D22 #6F8A22
monochromatic
#0A1128 #162659 #223B8A #2E50BB #5271D4

Accessibility & contrast

On white

10.19
#223B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#223B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223B8A
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223B8A#FFFFFF#000000##FFFFFF
##223B8A1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223b8a;
/* rgb */ color: rgb(34, 59, 138);
/* oklch */ color: oklch(38.3% 0.135 266.6);
Tailwind
colors: {
  custom: {
    50: '#6d70ad',
    500: '#223b8a',
    950: '#000000',
  },
}
SCSS
$custom: #223b8a;
$custom-light: #6d70ad;
$custom-dark: #000000;
JSON
{
  "hex": "#223b8a",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 138
  },
  "hsl": {
    "h": 225.577,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.383,
    "c": 0.13527,
    "h": 266.6
  },
  "luminance": 0.05303
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #223B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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