#223A9F#223A9F

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

Color values

HEX#223A9F
RGBrgb(34, 58, 159)
HSLhsl(228, 65%, 38%)
HSVhsv(228, 79%, 62%)
CMYKcmyk(78.6%, 63.5%, 0%, 37.6%)
CIE-LABlab(29.08, 28.67, -57.27)
CIE-LCHlch(29.08, 64.05, 296.59°)
OKLaboklab(39.97% -0.0069 -0.1656)
OKLCHoklch(39.97% 0.166 267.6)
XYZxyz(8.4286, 5.8684, 33.4827)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A9F #9F8722
analogous
#22789F #223A9F #48229F
triadic
#223A9F #9F223A #3A9F22
tetradic
#223A9F #9F2278 #9F8722 #229F48
square
#223A9F #9F2278 #9F8722 #229F48
split-complementary
#223A9F #9F4822 #789F22
monochromatic
#0C153A #17286D #223A9F #2D4CD1 #5F77DD

Accessibility & contrast

On white

9.66
#223A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#223A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A9F
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A9F#FFFFFF#000000##FFFFFF
##223A9F1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #223a9f;
/* rgb */ color: rgb(34, 58, 159);
/* oklch */ color: oklch(40.0% 0.166 267.6);
Tailwind
colors: {
  custom: {
    50: '#7270bc',
    500: '#223a9f',
    950: '#000000',
  },
}
SCSS
$custom: #223a9f;
$custom-light: #7270bc;
$custom-dark: #000000;
JSON
{
  "hex": "#223a9f",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 159
  },
  "hsl": {
    "h": 228.48,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39969,
    "c": 0.16579,
    "h": 267.6
  },
  "luminance": 0.05869
}

Semantic roles & 50–950 ramp

primary
#223A9F
secondary
#C1AE5B
accent
#C840E8
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #223A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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