#223AA0#223AA0

#223AA0 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.167 H 267.6°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#223AA0
RGBrgb(34, 58, 160)
HSLhsl(229, 65%, 38%)
HSVhsv(229, 79%, 63%)
CMYKcmyk(78.8%, 63.8%, 0%, 37.3%)
CIE-LABlab(29.17, 29.05, -57.73)
CIE-LCHlch(29.17, 64.63, 296.71°)
OKLaboklab(40.06% -0.0069 -0.167)
OKLCHoklch(40.06% 0.167 267.6)
XYZxyz(8.5157, 5.9033, 33.9415)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223AA0 #A08822
analogous
#2279A0 #223AA0 #4922A0
triadic
#223AA0 #A0223A #3AA022
tetradic
#223AA0 #A02279 #A08822 #22A049
square
#223AA0 #A02279 #A08822 #22A049
split-complementary
#223AA0 #A04922 #79A022
monochromatic
#0D153B #17286E #223AA0 #2D4CD2 #5F77DD

Accessibility & contrast

On white

9.63
#223AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#223AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223AA0
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223AA0#FFFFFF#000000##FFFFFF
##223AA01.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#003F9E
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #223aa0;
/* rgb */ color: rgb(34, 58, 160);
/* oklch */ color: oklch(40.1% 0.167 267.6);
Tailwind
colors: {
  custom: {
    50: '#7270bd',
    500: '#223aa0',
    950: '#000000',
  },
}
SCSS
$custom: #223aa0;
$custom-light: #7270bd;
$custom-dark: #000000;
JSON
{
  "hex": "#223aa0",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 160
  },
  "hsl": {
    "h": 228.571,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40062,
    "c": 0.16714,
    "h": 267.6
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#223AA0
secondary
#C2AE5C
accent
#C840E8
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #223AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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