#223A7A#223A7A

#223A7A is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.8% C 0.113 H 265.6°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#223A7A
RGBrgb(34, 58, 122)
HSLhsl(224, 56%, 31%)
HSVhsv(224, 72%, 48%)
CMYKcmyk(72.1%, 52.5%, 0%, 52.2%)
CIE-LABlab(26.07, 14.19, -39.28)
CIE-LCHlch(26.07, 41.77, 289.86°)
OKLaboklab(36.77% -0.0086 -0.1128)
OKLCHoklch(36.77% 0.113 265.6)
XYZxyz(5.6844, 4.7708, 19.0299)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A7A #7A6222
analogous
#22667A #223A7A #36227A
triadic
#223A7A #7A223A #3A7A22
tetradic
#223A7A #7A2266 #7A6222 #227A36
square
#223A7A #7A2266 #7A6222 #227A36
split-complementary
#223A7A #7A3622 #667A22
monochromatic
#070C1A #15234A #223A7A #2F51AA #4A6ECD

Accessibility & contrast

On white

10.75
#223A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#223A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A7A
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A7A#FFFFFF#000000##FFFFFF
##223A7A1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14427C
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223a7a;
/* rgb */ color: rgb(34, 58, 122);
/* oklch */ color: oklch(36.8% 0.113 265.6);
Tailwind
colors: {
  custom: {
    50: '#696fa1',
    500: '#223a7a',
    950: '#000000',
  },
}
SCSS
$custom: #223a7a;
$custom-light: #696fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#223a7a",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 122
  },
  "hsl": {
    "h": 223.636,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36774,
    "c": 0.11312,
    "h": 265.6
  },
  "luminance": 0.04771
}

Semantic roles & 50–950 ramp

primary
#223A7A
secondary
#AD924B
accent
#B648E0
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #223A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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