#223D9B#223D9B

#223D9B is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.157 H 266.7°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#223D9B
RGBrgb(34, 61, 155)
HSLhsl(227, 64%, 37%)
HSVhsv(227, 78%, 61%)
CMYKcmyk(78.1%, 60.6%, 0%, 39.2%)
CIE-LABlab(29.52, 25.11, -54.12)
CIE-LCHlch(29.52, 59.66, 294.89°)
OKLaboklab(40.19% -0.0089 -0.1564)
OKLCHoklch(40.19% 0.157 266.7)
XYZxyz(8.2428, 6.0432, 31.7360)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D9B #9B8022
analogous
#22799B #223D9B #44229B
triadic
#223D9B #9B223D #3D9B22
tetradic
#223D9B #9B2279 #9B8022 #229B44
square
#223D9B #9B2279 #9B8022 #229B44
split-complementary
#223D9B #9B4422 #799B22
monochromatic
#0C1537 #172969 #223D9B #2D51CD #5C78DB

Accessibility & contrast

On white

9.51
#223D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#223D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223D9B
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D9B#FFFFFF#000000##FFFFFF
##223D9B1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#004099
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #223d9b;
/* rgb */ color: rgb(34, 61, 155);
/* oklch */ color: oklch(40.2% 0.157 266.7);
Tailwind
colors: {
  custom: {
    50: '#7172b9',
    500: '#223d9b',
    950: '#000000',
  },
}
SCSS
$custom: #223d9b;
$custom-light: #7172b9;
$custom-dark: #000000;
JSON
{
  "hex": "#223d9b",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 155
  },
  "hsl": {
    "h": 226.612,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40191,
    "c": 0.15661,
    "h": 266.7
  },
  "luminance": 0.06044
}

Semantic roles & 50–950 ramp

primary
#223D9B
secondary
#C0A959
accent
#C241E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #223D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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