#223A6A#223A6A

#223A6A is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.6% C 0.089 H 262.7°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#223A6A
RGBrgb(34, 58, 106)
HSLhsl(220, 51%, 27%)
HSVhsv(220, 68%, 42%)
CMYKcmyk(67.9%, 45.3%, 0%, 58.4%)
CIE-LABlab(24.97, 7.87, -30.86)
CIE-LCHlch(24.97, 31.85, 284.31°)
OKLaboklab(35.58% -0.0113 -0.088)
OKLCHoklch(35.58% 0.089 262.7)
XYZxyz(4.7734, 4.4064, 14.2318)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A6A #6A5222
analogous
#225E6A #223A6A #2E226A
triadic
#223A6A #6A223A #3A6A22
tetradic
#223A6A #6A225E #6A5222 #226A2E
square
#223A6A #6A225E #6A5222 #226A2E
split-complementary
#223A6A #6A2E22 #5E6A22
monochromatic
#070D17 #13213C #223A6A #315398 #446EC3

Accessibility & contrast

On white

11.16
#223A6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#223A6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A6A
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A6A#FFFFFF#000000##FFFFFF
##223A6A1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243F6C
Deuteranopia (green-blind)
#193869
Tritanopia (blue-blind)
#00454C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #223a6a;
/* rgb */ color: rgb(34, 58, 106);
/* oklch */ color: oklch(35.6% 0.089 262.7);
Tailwind
colors: {
  custom: {
    50: '#656f95',
    500: '#223a6a',
    950: '#000000',
  },
}
SCSS
$custom: #223a6a;
$custom-light: #656f95;
$custom-dark: #000000;
JSON
{
  "hex": "#223a6a",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 106
  },
  "hsl": {
    "h": 220,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35578,
    "c": 0.08874,
    "h": 262.7
  },
  "luminance": 0.04407
}

Semantic roles & 50–950 ramp

primary
#223A6A
secondary
#9E824A
accent
#AC4DDB
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #223A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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