#223B82#223B82

#223B82 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.6% C 0.124 H 266.0°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#223B82
RGBrgb(34, 59, 130)
HSLhsl(224, 59%, 32%)
HSVhsv(224, 74%, 51%)
CMYKcmyk(73.8%, 54.6%, 0%, 49%)
CIE-LABlab(26.96, 16.66, -42.87)
CIE-LCHlch(26.96, 46.00, 291.24°)
OKLaboklab(37.64% -0.0086 -0.1233)
OKLCHoklch(37.64% 0.124 266)
XYZxyz(6.2515, 5.0791, 21.7657)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223B82 #826922
analogous
#226B82 #223B82 #392282
triadic
#223B82 #82223B #3B8222
tetradic
#223B82 #82226B #826922 #228239
square
#223B82 #82226B #826922 #228239
split-complementary
#223B82 #823922 #6B8222
monochromatic
#090F21 #152551 #223B82 #2F51B3 #4E70D1

Accessibility & contrast

On white

10.42
#223B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#223B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223B82
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223B82#FFFFFF#000000##FFFFFF
##223B821.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094485
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#004C58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223b82;
/* rgb */ color: rgb(34, 59, 130);
/* oklch */ color: oklch(37.6% 0.124 266.0);
Tailwind
colors: {
  custom: {
    50: '#6b70a7',
    500: '#223b82',
    950: '#000000',
  },
}
SCSS
$custom: #223b82;
$custom-light: #6b70a7;
$custom-dark: #000000;
JSON
{
  "hex": "#223b82",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 130
  },
  "hsl": {
    "h": 224.375,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37636,
    "c": 0.12364,
    "h": 266
  },
  "luminance": 0.0508
}

Semantic roles & 50–950 ramp

primary
#223B82
secondary
#B4994C
accent
#B946E2
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #223B82

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

Preview Lab → · Contrast checker → · Palette generator →

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