#223A7B#223A7B

#223A7B is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.9% C 0.115 H 265.8°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#223A7B
RGBrgb(34, 58, 123)
HSLhsl(224, 57%, 31%)
HSVhsv(224, 72%, 48%)
CMYKcmyk(72.4%, 52.8%, 0%, 51.8%)
CIE-LABlab(26.14, 14.59, -39.80)
CIE-LCHlch(26.14, 42.38, 290.13°)
OKLaboklab(36.85% -0.0085 -0.1143)
OKLCHoklch(36.85% 0.115 265.8)
XYZxyz(5.7466, 4.7957, 19.3579)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A7B #7B6322
analogous
#22667B #223A7B #36227B
triadic
#223A7B #7B223A #3A7B22
tetradic
#223A7B #7B2266 #7B6322 #227B36
square
#223A7B #7B2266 #7B6322 #227B36
split-complementary
#223A7B #7B3622 #667B22
monochromatic
#070D1B #15234B #223A7B #2F51AB #4A6ECD

Accessibility & contrast

On white

10.72
#223A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#223A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A7B
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A7B#FFFFFF#000000##FFFFFF
##223A7B1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13427D
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223a7b;
/* rgb */ color: rgb(34, 58, 123);
/* oklch */ color: oklch(36.9% 0.115 265.8);
Tailwind
colors: {
  custom: {
    50: '#696fa2',
    500: '#223a7b',
    950: '#000000',
  },
}
SCSS
$custom: #223a7b;
$custom-light: #696fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#223a7b",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 123
  },
  "hsl": {
    "h": 223.82,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36853,
    "c": 0.11461,
    "h": 265.8
  },
  "luminance": 0.04796
}

Semantic roles & 50–950 ramp

primary
#223A7B
secondary
#AE934B
accent
#B748E0
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #223A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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