#223277#223277

#223277 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.8% C 0.120 H 269.4°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#223277
RGBrgb(34, 50, 119)
HSLhsl(229, 56%, 30%)
HSVhsv(229, 71%, 47%)
CMYKcmyk(71.4%, 58%, 0%, 53.3%)
CIE-LABlab(23.51, 18.62, -41.52)
CIE-LCHlch(23.51, 45.50, 294.16°)
OKLaboklab(34.77% -0.0013 -0.1195)
OKLCHoklch(34.77% 0.12 269.4)
XYZxyz(5.1289, 3.9527, 17.9418)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223277 #776722
analogous
#225C77 #223277 #3D2277
triadic
#223277 #772232 #327722
tetradic
#223277 #77225C #776722 #22773D
square
#223277 #77225C #776722 #22773D
split-complementary
#223277 #773D22 #5C7722
monochromatic
#070A18 #141E47 #223277 #3046A7 #4961CB

Accessibility & contrast

On white

11.73
#223277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#223277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223277
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223277#FFFFFF#000000##FFFFFF
##2232771.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C79
Deuteranopia (green-blind)
#003476
Tritanopia (blue-blind)
#00434F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #223277;
/* rgb */ color: rgb(34, 50, 119);
/* oklch */ color: oklch(34.8% 0.120 269.4);
Tailwind
colors: {
  custom: {
    50: '#69699f',
    500: '#223277',
    950: '#000000',
  },
}
SCSS
$custom: #223277;
$custom-light: #69699f;
$custom-dark: #000000;
JSON
{
  "hex": "#223277",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 119
  },
  "hsl": {
    "h": 228.706,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.34769,
    "c": 0.11951,
    "h": 269.4
  },
  "luminance": 0.03953
}

Semantic roles & 50–950 ramp

primary
#223277
secondary
#AA984B
accent
#C349DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #223277

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

Preview Lab → · Contrast checker → · Palette generator →

#223277 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva