#223A8D#223A8D

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

Color values

HEX#223A8D
RGBrgb(34, 58, 141)
HSLhsl(227, 61%, 34%)
HSVhsv(227, 76%, 55%)
CMYKcmyk(75.9%, 58.9%, 0%, 44.7%)
CIE-LABlab(27.54, 21.69, -48.76)
CIE-LCHlch(27.54, 53.37, 293.98°)
OKLaboklab(38.35% -0.0071 -0.1407)
OKLCHoklch(38.35% 0.141 267.1)
XYZxyz(6.9788, 5.2885, 25.8471)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A8D #8D7522
analogous
#22708D #223A8D #40228D
triadic
#223A8D #8D223A #3A8D22
tetradic
#223A8D #8D2270 #8D7522 #228D40
square
#223A8D #8D2270 #8D7522 #228D40
split-complementary
#223A8D #8D4022 #708D22
monochromatic
#0A112A #16265C #223A8D #2E4EBE #5471D6

Accessibility & contrast

On white

10.21
#223A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223A8D
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A8D#FFFFFF#000000##FFFFFF
##223A8D1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223a8d;
/* rgb */ color: rgb(34, 58, 141);
/* oklch */ color: oklch(38.3% 0.141 267.1);
Tailwind
colors: {
  custom: {
    50: '#6e6faf',
    500: '#223a8d',
    950: '#000000',
  },
}
SCSS
$custom: #223a8d;
$custom-light: #6e6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#223a8d",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 141
  },
  "hsl": {
    "h": 226.542,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38348,
    "c": 0.14086,
    "h": 267.1
  },
  "luminance": 0.05289
}

Semantic roles & 50–950 ramp

primary
#223A8D
secondary
#B9A251
accent
#C044E4
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #223A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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