#223476#223476

#223476 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.1% C 0.115 H 268.4°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#223476
RGBrgb(34, 52, 118)
HSLhsl(227, 55%, 30%)
HSVhsv(227, 71%, 46%)
CMYKcmyk(71.2%, 55.9%, 0%, 53.7%)
CIE-LABlab(24.01, 16.82, -40.08)
CIE-LCHlch(24.01, 43.47, 292.77°)
OKLaboklab(35.12% -0.0033 -0.1152)
OKLCHoklch(35.12% 0.115 268.4)
XYZxyz(5.1566, 4.1036, 17.6563)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223476 #766422
analogous
#225E76 #223476 #3A2276
triadic
#223476 #762234 #347622
tetradic
#223476 #76225E #766422 #22763A
square
#223476 #76225E #766422 #22763A
split-complementary
#223476 #763A22 #5E7622
monochromatic
#070A18 #141F46 #223476 #3049A6 #4864CA

Accessibility & contrast

On white

11.53
#223476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#223476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223476
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223476#FFFFFF#000000##FFFFFF
##2234761.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053D78
Deuteranopia (green-blind)
#003575
Tritanopia (blue-blind)
#00444F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #223476;
/* rgb */ color: rgb(34, 52, 118);
/* oklch */ color: oklch(35.1% 0.115 268.4);
Tailwind
colors: {
  custom: {
    50: '#686b9e',
    500: '#223476',
    950: '#000000',
  },
}
SCSS
$custom: #223476;
$custom-light: #686b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#223476",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 118
  },
  "hsl": {
    "h": 227.143,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35118,
    "c": 0.11528,
    "h": 268.4
  },
  "luminance": 0.04104
}

Semantic roles & 50–950 ramp

primary
#223476
secondary
#A9954B
accent
#BF49DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #223476

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

Preview Lab → · Contrast checker → · Palette generator →

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