#223682#223682

#223682 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.6% C 0.130 H 268.1°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#223682
RGBrgb(34, 54, 130)
HSLhsl(228, 59%, 32%)
HSVhsv(228, 74%, 51%)
CMYKcmyk(73.8%, 58.5%, 0%, 49%)
CIE-LABlab(25.53, 20.14, -45.19)
CIE-LCHlch(25.53, 49.48, 294.03°)
OKLaboklab(36.56% -0.0043 -0.1302)
OKLCHoklch(36.56% 0.13 268.1)
XYZxyz(6.0067, 4.5895, 21.6841)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223682 #826E22
analogous
#226682 #223682 #3E2282
triadic
#223682 #822236 #368222
tetradic
#223682 #822266 #826E22 #22823E
square
#223682 #822266 #826E22 #22823E
split-complementary
#223682 #823E22 #668222
monochromatic
#090E21 #152251 #223682 #2F4AB3 #4E69D1

Accessibility & contrast

On white

10.95
#223682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#223682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223682
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223682#FFFFFF#000000##FFFFFF
##2236821.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004185
Deuteranopia (green-blind)
#003880
Tritanopia (blue-blind)
#004956
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #223682;
/* rgb */ color: rgb(34, 54, 130);
/* oklch */ color: oklch(36.6% 0.130 268.1);
Tailwind
colors: {
  custom: {
    50: '#6b6ca7',
    500: '#223682',
    950: '#000000',
  },
}
SCSS
$custom: #223682;
$custom-light: #6b6ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#223682",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 130
  },
  "hsl": {
    "h": 227.5,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36561,
    "c": 0.1303,
    "h": 268.1
  },
  "luminance": 0.0459
}

Semantic roles & 50–950 ramp

primary
#223682
secondary
#B49E4C
accent
#C146E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #223682

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

Preview Lab → · Contrast checker → · Palette generator →

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