#223784#223784

#223784 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.132 H 267.8°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#223784
RGBrgb(34, 55, 132)
HSLhsl(227, 59%, 33%)
HSVhsv(227, 74%, 52%)
CMYKcmyk(74.2%, 58.3%, 0%, 48.2%)
CIE-LABlab(25.97, 20.23, -45.72)
CIE-LCHlch(25.97, 50.00, 293.87°)
OKLaboklab(36.94% -0.0051 -0.1318)
OKLCHoklch(36.94% 0.132 267.8)
XYZxyz(6.1893, 4.7378, 22.4136)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223784 #846F22
analogous
#226884 #223784 #3E2284
triadic
#223784 #842237 #378422
tetradic
#223784 #842268 #846F22 #22843E
square
#223784 #842268 #846F22 #22843E
split-complementary
#223784 #843E22 #688422
monochromatic
#090E23 #152353 #223784 #2F4BB5 #4F6BD2

Accessibility & contrast

On white

10.78
#223784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#223784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223784
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223784#FFFFFF#000000##FFFFFF
##2237841.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #223784;
/* rgb */ color: rgb(34, 55, 132);
/* oklch */ color: oklch(36.9% 0.132 267.8);
Tailwind
colors: {
  custom: {
    50: '#6c6da8',
    500: '#223784',
    950: '#000000',
  },
}
SCSS
$custom: #223784;
$custom-light: #6c6da8;
$custom-dark: #000000;
JSON
{
  "hex": "#223784",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 132
  },
  "hsl": {
    "h": 227.143,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36944,
    "c": 0.13188,
    "h": 267.8
  },
  "luminance": 0.04738
}

Semantic roles & 50–950 ramp

primary
#223784
secondary
#B59F4D
accent
#C146E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #223784

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

Preview Lab → · Contrast checker → · Palette generator →

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