#223A62#223A62

#223A62 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.0% C 0.076 H 260.1°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#223A62
RGBrgb(34, 58, 98)
HSLhsl(218, 48%, 26%)
HSVhsv(218, 65%, 38%)
CMYKcmyk(65.3%, 40.8%, 0%, 61.6%)
CIE-LABlab(24.47, 4.76, -26.48)
CIE-LCHlch(24.47, 26.91, 280.18°)
OKLaboklab(35.03% -0.0131 -0.0752)
OKLCHoklch(35.03% 0.076 260.1)
XYZxyz(4.3766, 4.2476, 12.1421)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A62 #624A22
analogous
#225A62 #223A62 #2A2262
triadic
#223A62 #62223A #3A6222
tetradic
#223A62 #62225A #624A22 #22622A
square
#223A62 #62225A #624A22 #22622A
split-complementary
#223A62 #622A22 #5A6222
monochromatic
#080D17 #121F35 #223A62 #32558F #4270BD

Accessibility & contrast

On white

11.35
#223A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#223A62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A62
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A62#FFFFFF#000000##FFFFFF
##223A621.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293D64
Deuteranopia (green-blind)
#203761
Tritanopia (blue-blind)
#004349
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #223a62;
/* rgb */ color: rgb(34, 58, 98);
/* oklch */ color: oklch(35.0% 0.076 260.1);
Tailwind
colors: {
  custom: {
    50: '#646f8f',
    500: '#223a62',
    950: '#000000',
  },
}
SCSS
$custom: #223a62;
$custom-light: #646f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#223a62",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 98
  },
  "hsl": {
    "h": 217.5,
    "s": 48.485,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35031,
    "c": 0.07633,
    "h": 260.1
  },
  "luminance": 0.04248
}

Semantic roles & 50–950 ramp

primary
#223A62
secondary
#96794A
accent
#A550D8
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #223A62

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

Preview Lab → · Contrast checker → · Palette generator →

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