#223D9F#223D9F

#223D9F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.162 H 266.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#223D9F
RGBrgb(34, 61, 159)
HSLhsl(227, 65%, 38%)
HSVhsv(227, 79%, 62%)
CMYKcmyk(78.6%, 61.6%, 0%, 37.6%)
CIE-LABlab(29.86, 26.65, -55.99)
CIE-LCHlch(29.86, 62.01, 295.45°)
OKLaboklab(40.55% -0.0088 -0.1619)
OKLCHoklch(40.55% 0.162 266.9)
XYZxyz(8.5843, 6.1798, 33.5346)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D9F #9F8422
analogous
#227B9F #223D9F #45229F
triadic
#223D9F #9F223D #3D9F22
tetradic
#223D9F #9F227B #9F8422 #229F45
square
#223D9F #9F227B #9F8422 #229F45
split-complementary
#223D9F #9F4522 #7B9F22
monochromatic
#0C163A #172A6D #223D9F #2D50D1 #5F7ADD

Accessibility & contrast

On white

9.39
#223D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#223D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223D9F
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D9F#FFFFFF#000000##FFFFFF
##223D9F1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #223d9f;
/* rgb */ color: rgb(34, 61, 159);
/* oklch */ color: oklch(40.6% 0.162 266.9);
Tailwind
colors: {
  custom: {
    50: '#7272bc',
    500: '#223d9f',
    950: '#000000',
  },
}
SCSS
$custom: #223d9f;
$custom-light: #7272bc;
$custom-dark: #000000;
JSON
{
  "hex": "#223d9f",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 159
  },
  "hsl": {
    "h": 227.04,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4055,
    "c": 0.1621,
    "h": 266.9
  },
  "luminance": 0.06181
}

Semantic roles & 50–950 ramp

primary
#223D9F
secondary
#C1AB5B
accent
#C440E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #223D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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