#223276#223276

#223276 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.7% C 0.118 H 269.3°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#223276
RGBrgb(34, 50, 118)
HSLhsl(229, 55%, 30%)
HSVhsv(229, 71%, 46%)
CMYKcmyk(71.2%, 57.6%, 0%, 53.7%)
CIE-LABlab(23.43, 18.23, -41.01)
CIE-LCHlch(23.43, 44.88, 293.97°)
OKLaboklab(34.68% -0.0014 -0.118)
OKLCHoklch(34.68% 0.118 269.3)
XYZxyz(5.0692, 3.9288, 17.6272)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223276 #766622
analogous
#225C76 #223276 #3C2276
triadic
#223276 #762232 #327622
tetradic
#223276 #76225C #766622 #22763C
square
#223276 #76225C #766622 #22763C
split-complementary
#223276 #763C22 #5C7622
monochromatic
#070A18 #141E46 #223276 #3046A6 #4861CA

Accessibility & contrast

On white

11.76
#223276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223276
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223276#FFFFFF#000000##FFFFFF
##2232761.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C78
Deuteranopia (green-blind)
#003475
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #223276;
/* rgb */ color: rgb(34, 50, 118);
/* oklch */ color: oklch(34.7% 0.118 269.3);
Tailwind
colors: {
  custom: {
    50: '#69699e',
    500: '#223276',
    950: '#000000',
  },
}
SCSS
$custom: #223276;
$custom-light: #69699e;
$custom-dark: #000000;
JSON
{
  "hex": "#223276",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 118
  },
  "hsl": {
    "h": 228.571,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34684,
    "c": 0.11802,
    "h": 269.3
  },
  "luminance": 0.03929
}

Semantic roles & 50–950 ramp

primary
#223276
secondary
#A9974B
accent
#C249DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #223276

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

Preview Lab → · Contrast checker → · Palette generator →

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