#223289#223289

#223289 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.145 H 269.6°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#223289
RGBrgb(34, 50, 137)
HSLhsl(231, 60%, 34%)
HSVhsv(231, 75%, 54%)
CMYKcmyk(75.2%, 63.5%, 0%, 46.3%)
CIE-LABlab(25.04, 25.63, -50.37)
CIE-LCHlch(25.04, 56.51, 296.96°)
OKLaboklab(36.38% -0.0011 -0.1455)
OKLCHoklch(36.38% 0.146 269.6)
XYZxyz(6.3141, 4.4268, 24.1837)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223289 #897922
analogous
#226589 #223289 #452289
triadic
#223289 #892232 #328922
tetradic
#223289 #892265 #897922 #228945
square
#223289 #892265 #897922 #228945
split-complementary
#223289 #894522 #658922
monochromatic
#0A0E27 #162058 #223289 #2E44BA #5166D4

Accessibility & contrast

On white

11.14
#223289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#223289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223289
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223289#FFFFFF#000000##FFFFFF
##2232891.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #223289;
/* rgb */ color: rgb(34, 50, 137);
/* oklch */ color: oklch(36.4% 0.145 269.6);
Tailwind
colors: {
  custom: {
    50: '#6d69ac',
    500: '#223289',
    950: '#000000',
  },
}
SCSS
$custom: #223289;
$custom-light: #6d69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#223289",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 137
  },
  "hsl": {
    "h": 230.68,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36377,
    "c": 0.1455,
    "h": 269.6
  },
  "luminance": 0.04427
}

Semantic roles & 50–950 ramp

primary
#223289
secondary
#B8A74F
accent
#CB44E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #223289

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

Preview Lab → · Contrast checker → · Palette generator →

#223289 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva