#223E81#223E81

#223E81 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.118 H 264.4°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#223E81
RGBrgb(34, 62, 129)
HSLhsl(222, 58%, 32%)
HSVhsv(222, 74%, 51%)
CMYKcmyk(73.6%, 51.9%, 0%, 49.4%)
CIE-LABlab(27.76, 14.18, -40.95)
CIE-LCHlch(27.76, 43.34, 289.10°)
OKLaboklab(38.22% -0.0115 -0.1176)
OKLCHoklch(38.22% 0.118 264.4)
XYZxyz(6.3434, 5.3696, 21.4668)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E81 #816522
analogous
#226E81 #223E81 #362281
triadic
#223E81 #81223E #3E8122
tetradic
#223E81 #81226E #816522 #228136
square
#223E81 #81226E #816522 #228136
split-complementary
#223E81 #813622 #6E8122
monochromatic
#080F20 #152751 #223E81 #2F55B1 #4D74D0

Accessibility & contrast

On white

10.13
#223E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#223E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223E81
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E81#FFFFFF#000000##FFFFFF
##223E811.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164683
Deuteranopia (green-blind)
#003D80
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #223e81;
/* rgb */ color: rgb(34, 62, 129);
/* oklch */ color: oklch(38.2% 0.118 264.4);
Tailwind
colors: {
  custom: {
    50: '#6a72a6',
    500: '#223e81',
    950: '#000000',
  },
}
SCSS
$custom: #223e81;
$custom-light: #6a72a6;
$custom-dark: #000000;
JSON
{
  "hex": "#223e81",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 129
  },
  "hsl": {
    "h": 222.316,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38223,
    "c": 0.11819,
    "h": 264.4
  },
  "luminance": 0.0537
}

Semantic roles & 50–950 ramp

primary
#223E81
secondary
#B3954B
accent
#B446E1
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #223E81

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

Preview Lab → · Contrast checker → · Palette generator →

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