#223A9A#223A9A

#223A9A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.159 H 267.5°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#223A9A
RGBrgb(34, 58, 154)
HSLhsl(228, 64%, 37%)
HSVhsv(228, 78%, 60%)
CMYKcmyk(77.9%, 62.3%, 0%, 39.6%)
CIE-LABlab(28.64, 26.75, -54.95)
CIE-LCHlch(28.64, 61.12, 295.95°)
OKLaboklab(39.51% -0.0069 -0.1588)
OKLCHoklch(39.51% 0.159 267.5)
XYZxyz(8.0034, 5.6984, 31.2437)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A9A #9A8222
analogous
#22769A #223A9A #46229A
triadic
#223A9A #9A223A #3A9A22
tetradic
#223A9A #9A2276 #9A8222 #229A46
square
#223A9A #9A2276 #9A8222 #229A46
split-complementary
#223A9A #9A4622 #769A22
monochromatic
#0C1436 #172768 #223A9A #2D4DCC #5B75DB

Accessibility & contrast

On white

9.81
#223A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#223A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A9A
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A9A#FFFFFF#000000##FFFFFF
##223A9A1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #223a9a;
/* rgb */ color: rgb(34, 58, 154);
/* oklch */ color: oklch(39.5% 0.159 267.5);
Tailwind
colors: {
  custom: {
    50: '#716fb9',
    500: '#223a9a',
    950: '#000000',
  },
}
SCSS
$custom: #223a9a;
$custom-light: #716fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#223a9a",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 154
  },
  "hsl": {
    "h": 228,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39508,
    "c": 0.159,
    "h": 267.5
  },
  "luminance": 0.05699
}

Semantic roles & 50–950 ramp

primary
#223A9A
secondary
#BFAB58
accent
#C641E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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