#223A84#223A84

#223A84 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.128 H 266.6°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#223A84
RGBrgb(34, 58, 132)
HSLhsl(225, 59%, 33%)
HSVhsv(225, 74%, 52%)
CMYKcmyk(74.2%, 56.1%, 0%, 48.2%)
CIE-LABlab(26.82, 18.15, -44.34)
CIE-LCHlch(26.82, 47.91, 292.26°)
OKLaboklab(37.58% -0.0076 -0.1277)
OKLCHoklch(37.58% 0.128 266.6)
XYZxyz(6.3361, 5.0315, 22.4626)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A84 #846C22
analogous
#226B84 #223A84 #3B2284
triadic
#223A84 #84223A #3A8422
tetradic
#223A84 #84226B #846C22 #22843B
square
#223A84 #84226B #846C22 #22843B
split-complementary
#223A84 #843B22 #6B8422
monochromatic
#090F23 #152553 #223A84 #2F4FB5 #4F6FD2

Accessibility & contrast

On white

10.47
#223A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#223A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A84
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A84#FFFFFF#000000##FFFFFF
##223A841.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223a84;
/* rgb */ color: rgb(34, 58, 132);
/* oklch */ color: oklch(37.6% 0.128 266.6);
Tailwind
colors: {
  custom: {
    50: '#6b6fa8',
    500: '#223a84',
    950: '#000000',
  },
}
SCSS
$custom: #223a84;
$custom-light: #6b6fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#223a84",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 132
  },
  "hsl": {
    "h": 225.306,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37583,
    "c": 0.1279,
    "h": 266.6
  },
  "luminance": 0.05032
}

Semantic roles & 50–950 ramp

primary
#223A84
secondary
#B59B4D
accent
#BC46E2
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #223A84

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

Preview Lab → · Contrast checker → · Palette generator →

#223A84 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva