#223284#223284

#223284 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.138 H 269.6°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#223284
RGBrgb(34, 50, 132)
HSLhsl(230, 59%, 33%)
HSVhsv(230, 74%, 52%)
CMYKcmyk(74.2%, 62.1%, 0%, 48.2%)
CIE-LABlab(24.60, 23.70, -47.96)
CIE-LCHlch(24.60, 53.50, 296.29°)
OKLaboklab(35.92% -0.001 -0.1384)
OKLCHoklch(35.92% 0.138 269.6)
XYZxyz(5.9637, 4.2866, 22.3384)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223284 #847422
analogous
#226384 #223284 #432284
triadic
#223284 #842232 #328422
tetradic
#223284 #842263 #847422 #228443
square
#223284 #842263 #847422 #228443
split-complementary
#223284 #844322 #638422
monochromatic
#090D23 #152053 #223284 #2F44B5 #4F64D2

Accessibility & contrast

On white

11.31
#223284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#223284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223284
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223284#FFFFFF#000000##FFFFFF
##2232841.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#003682
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #223284;
/* rgb */ color: rgb(34, 50, 132);
/* oklch */ color: oklch(35.9% 0.138 269.6);
Tailwind
colors: {
  custom: {
    50: '#6c69a9',
    500: '#223284',
    950: '#000000',
  },
}
SCSS
$custom: #223284;
$custom-light: #6c69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#223284",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 132
  },
  "hsl": {
    "h": 230.204,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35916,
    "c": 0.13844,
    "h": 269.6
  },
  "luminance": 0.04287
}

Semantic roles & 50–950 ramp

primary
#223284
secondary
#B5A44D
accent
#C946E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #223284

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

Preview Lab → · Contrast checker → · Palette generator →

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