#223F89#223F89

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

Color values

HEX#223F89
RGBrgb(34, 63, 137)
HSLhsl(223, 60%, 34%)
HSVhsv(223, 75%, 54%)
CMYKcmyk(75.2%, 54%, 0%, 46.3%)
CIE-LABlab(28.64, 16.66, -44.50)
CIE-LCHlch(28.64, 47.52, 290.53°)
OKLaboklab(39.08% -0.0115 -0.1281)
OKLCHoklch(39.08% 0.129 264.9)
XYZxyz(6.9510, 5.7005, 24.3960)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F89 #896C22
analogous
#227289 #223F89 #382289
triadic
#223F89 #89223F #3F8922
tetradic
#223F89 #892272 #896C22 #228938
square
#223F89 #892272 #896C22 #228938
split-complementary
#223F89 #893822 #728922
monochromatic
#0A1227 #162858 #223F89 #2E56BA #5176D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##223F89#FFFFFF#000000##FFFFFF
##223F891.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)
#0B498C
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #223f89;
/* rgb */ color: rgb(34, 63, 137);
/* oklch */ color: oklch(39.1% 0.129 264.9);
Tailwind
colors: {
  custom: {
    50: '#6c73ac',
    500: '#223f89',
    950: '#000000',
  },
}
SCSS
$custom: #223f89;
$custom-light: #6c73ac;
$custom-dark: #000000;
JSON
{
  "hex": "#223f89",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 137
  },
  "hsl": {
    "h": 223.107,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3908,
    "c": 0.12857,
    "h": 264.9
  },
  "luminance": 0.05701
}

Semantic roles & 50–950 ramp

primary
#223F89
secondary
#B89A4F
accent
#B744E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #223F89

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

Preview Lab → · Contrast checker → · Palette generator →

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