#223E6C#223E6C

#223E6C is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.7% C 0.087 H 259.8°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#223E6C
RGBrgb(34, 62, 108)
HSLhsl(217, 52%, 28%)
HSVhsv(217, 69%, 42%)
CMYKcmyk(68.5%, 42.6%, 0%, 57.6%)
CIE-LABlab(26.35, 5.88, -29.94)
CIE-LCHlch(26.35, 30.51, 281.11°)
OKLaboklab(36.69% -0.0153 -0.0853)
OKLCHoklch(36.69% 0.087 259.8)
XYZxyz(5.0881, 4.8676, 14.8558)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E6C #6C5022
analogous
#22636C #223E6C #2B226C
triadic
#223E6C #6C223E #3E6C22
tetradic
#223E6C #6C2263 #6C5022 #226C2B
square
#223E6C #6C2263 #6C5022 #226C2B
split-complementary
#223E6C #6C2B22 #636C22
monochromatic
#070D17 #13233D #223E6C #31599B #4475C4

Accessibility & contrast

On white

10.64
#223E6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#223E6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223E6C
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E6C#FFFFFF#000000##FFFFFF
##223E6C1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29426E
Deuteranopia (green-blind)
#1E3B6B
Tritanopia (blue-blind)
#00494F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223e6c;
/* rgb */ color: rgb(34, 62, 108);
/* oklch */ color: oklch(36.7% 0.087 259.8);
Tailwind
colors: {
  custom: {
    50: '#667296',
    500: '#223e6c',
    950: '#000000',
  },
}
SCSS
$custom: #223e6c;
$custom-light: #667296;
$custom-dark: #000000;
JSON
{
  "hex": "#223e6c",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 108
  },
  "hsl": {
    "h": 217.297,
    "s": 52.113,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36687,
    "c": 0.08662,
    "h": 259.8
  },
  "luminance": 0.04868
}

Semantic roles & 50–950 ramp

primary
#223E6C
secondary
#A07F4A
accent
#A54CDC
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #223E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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