#223B7E#223B7E

#223B7E is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.3% C 0.118 H 265.6°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#223B7E
RGBrgb(34, 59, 126)
HSLhsl(224, 58%, 31%)
HSVhsv(224, 73%, 49%)
CMYKcmyk(73%, 53.2%, 0%, 50.6%)
CIE-LABlab(26.66, 15.08, -40.85)
CIE-LCHlch(26.66, 43.54, 290.26°)
OKLaboklab(37.31% -0.0091 -0.1174)
OKLCHoklch(37.31% 0.118 265.6)
XYZxyz(5.9882, 4.9738, 20.3791)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223B7E #7E6522
analogous
#22697E #223B7E #37227E
triadic
#223B7E #7E223B #3B7E22
tetradic
#223B7E #7E2269 #7E6522 #227E37
square
#223B7E #7E2269 #7E6522 #227E37
split-complementary
#223B7E #7E3722 #697E22
monochromatic
#080E1E #15244E #223B7E #2F52AE #4C6FCF

Accessibility & contrast

On white

10.53
#223B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#223B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223B7E
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223B7E#FFFFFF#000000##FFFFFF
##223B7E1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114380
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223b7e;
/* rgb */ color: rgb(34, 59, 126);
/* oklch */ color: oklch(37.3% 0.118 265.6);
Tailwind
colors: {
  custom: {
    50: '#6a70a4',
    500: '#223b7e',
    950: '#000000',
  },
}
SCSS
$custom: #223b7e;
$custom-light: #6a70a4;
$custom-dark: #000000;
JSON
{
  "hex": "#223b7e",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 126
  },
  "hsl": {
    "h": 223.696,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37314,
    "c": 0.11774,
    "h": 265.6
  },
  "luminance": 0.04974
}

Semantic roles & 50–950 ramp

primary
#223B7E
secondary
#B1954B
accent
#B747E1
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #223B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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