#223889#223889

#223889 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.138 H 267.6°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#223889
RGBrgb(34, 56, 137)
HSLhsl(227, 60%, 34%)
HSVhsv(227, 75%, 54%)
CMYKcmyk(75.2%, 59.1%, 0%, 46.3%)
CIE-LABlab(26.66, 21.50, -47.72)
CIE-LCHlch(26.66, 52.34, 294.26°)
OKLaboklab(37.59% -0.0057 -0.1376)
OKLCHoklch(37.59% 0.138 267.6)
XYZxyz(6.5876, 4.9739, 24.2749)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223889 #897322
analogous
#226B89 #223889 #3F2289
triadic
#223889 #892238 #388922
tetradic
#223889 #89226B #897322 #22893F
square
#223889 #89226B #897322 #22893F
split-complementary
#223889 #893F22 #6B8922
monochromatic
#0A1027 #162458 #223889 #2E4CBA #516DD4

Accessibility & contrast

On white

10.53
#223889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#223889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223889
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223889#FFFFFF#000000##FFFFFF
##2238891.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223889;
/* rgb */ color: rgb(34, 56, 137);
/* oklch */ color: oklch(37.6% 0.138 267.6);
Tailwind
colors: {
  custom: {
    50: '#6d6eac',
    500: '#223889',
    950: '#000000',
  },
}
SCSS
$custom: #223889;
$custom-light: #6d6eac;
$custom-dark: #000000;
JSON
{
  "hex": "#223889",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 137
  },
  "hsl": {
    "h": 227.184,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37586,
    "c": 0.13776,
    "h": 267.6
  },
  "luminance": 0.04975
}

Semantic roles & 50–950 ramp

primary
#223889
secondary
#B8A14F
accent
#C144E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #223889

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

Preview Lab → · Contrast checker → · Palette generator →

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