#223E82#223E82

#223E82 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.3% C 0.120 H 264.6°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#223E82
RGBrgb(34, 62, 130)
HSLhsl(223, 59%, 32%)
HSVhsv(223, 74%, 51%)
CMYKcmyk(73.8%, 52.3%, 0%, 49%)
CIE-LABlab(27.84, 14.58, -41.46)
CIE-LCHlch(27.84, 43.95, 289.37°)
OKLaboklab(38.3% -0.0114 -0.1191)
OKLCHoklch(38.3% 0.12 264.6)
XYZxyz(6.4102, 5.3964, 21.8185)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E82 #826622
analogous
#226E82 #223E82 #362282
triadic
#223E82 #82223E #3E8222
tetradic
#223E82 #82226E #826622 #228236
square
#223E82 #82226E #826622 #228236
split-complementary
#223E82 #823622 #6E8222
monochromatic
#091021 #152751 #223E82 #2F55B3 #4E74D1

Accessibility & contrast

On white

10.10
#223E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#223E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223E82
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E82#FFFFFF#000000##FFFFFF
##223E821.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154684
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #223e82;
/* rgb */ color: rgb(34, 62, 130);
/* oklch */ color: oklch(38.3% 0.120 264.6);
Tailwind
colors: {
  custom: {
    50: '#6b72a7',
    500: '#223e82',
    950: '#000000',
  },
}
SCSS
$custom: #223e82;
$custom-light: #6b72a7;
$custom-dark: #000000;
JSON
{
  "hex": "#223e82",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 130
  },
  "hsl": {
    "h": 222.5,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38302,
    "c": 0.11966,
    "h": 264.6
  },
  "luminance": 0.05397
}

Semantic roles & 50–950 ramp

primary
#223E82
secondary
#B4964C
accent
#B446E2
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #223E82

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

Preview Lab → · Contrast checker → · Palette generator →

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