#223A77#223A77

#223A77 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.5% C 0.109 H 265.3°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#223A77
RGBrgb(34, 58, 119)
HSLhsl(223, 56%, 30%)
HSVhsv(223, 71%, 47%)
CMYKcmyk(71.4%, 51.3%, 0%, 53.3%)
CIE-LABlab(25.86, 13.00, -37.74)
CIE-LCHlch(25.86, 39.91, 289.01°)
OKLaboklab(36.54% -0.009 -0.1082)
OKLCHoklch(36.54% 0.109 265.3)
XYZxyz(5.5014, 4.6976, 18.0660)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A77 #775F22
analogous
#226477 #223A77 #352277
triadic
#223A77 #77223A #3A7722
tetradic
#223A77 #772264 #775F22 #227735
square
#223A77 #772264 #775F22 #227735
split-complementary
#223A77 #773522 #647722
monochromatic
#070C18 #142347 #223A77 #3051A7 #496DCB

Accessibility & contrast

On white

10.83
#223A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#223A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A77
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A77#FFFFFF#000000##FFFFFF
##223A771.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184179
Deuteranopia (green-blind)
#013A76
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #223a77;
/* rgb */ color: rgb(34, 58, 119);
/* oklch */ color: oklch(36.5% 0.109 265.3);
Tailwind
colors: {
  custom: {
    50: '#686f9f',
    500: '#223a77',
    950: '#000000',
  },
}
SCSS
$custom: #223a77;
$custom-light: #686f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#223a77",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 119
  },
  "hsl": {
    "h": 223.059,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.3654,
    "c": 0.10861,
    "h": 265.3
  },
  "luminance": 0.04698
}

Semantic roles & 50–950 ramp

primary
#223A77
secondary
#AA8F4B
accent
#B549DF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #223A77

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

Preview Lab → · Contrast checker → · Palette generator →

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