#223894#223894

#223894 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.153 H 267.9°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#223894
RGBrgb(34, 56, 148)
HSLhsl(228, 63%, 36%)
HSVhsv(228, 77%, 58%)
CMYKcmyk(77%, 62.2%, 0%, 42%)
CIE-LABlab(27.59, 25.79, -53.00)
CIE-LCHlch(27.59, 58.94, 295.94°)
OKLaboklab(38.57% -0.0055 -0.1531)
OKLCHoklch(38.57% 0.153 267.9)
XYZxyz(7.4173, 5.3057, 28.6444)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223894 #947E22
analogous
#227194 #223894 #452294
triadic
#223894 #942238 #389422
tetradic
#223894 #942271 #947E22 #229445
square
#223894 #942271 #947E22 #229445
split-complementary
#223894 #944522 #719422
monochromatic
#0B1230 #172562 #223894 #2D4BC6 #5871D9

Accessibility & contrast

On white

10.19
#223894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#223894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223894
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223894#FFFFFF#000000##FFFFFF
##2238941.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223894;
/* rgb */ color: rgb(34, 56, 148);
/* oklch */ color: oklch(38.6% 0.153 267.9);
Tailwind
colors: {
  custom: {
    50: '#6f6eb4',
    500: '#223894',
    950: '#000000',
  },
}
SCSS
$custom: #223894;
$custom-light: #6f6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#223894",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 148
  },
  "hsl": {
    "h": 228.421,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38567,
    "c": 0.15324,
    "h": 267.9
  },
  "luminance": 0.05307
}

Semantic roles & 50–950 ramp

primary
#223894
secondary
#BDA955
accent
#C642E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223894

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

Preview Lab → · Contrast checker → · Palette generator →

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