#223273#223273

#223273 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.4% C 0.114 H 269.2°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#223273
RGBrgb(34, 50, 115)
HSLhsl(228, 54%, 29%)
HSVhsv(228, 70%, 45%)
CMYKcmyk(70.4%, 56.5%, 0%, 54.9%)
CIE-LABlab(23.20, 17.05, -39.48)
CIE-LCHlch(23.20, 43.01, 293.36°)
OKLaboklab(34.43% -0.0016 -0.1135)
OKLCHoklch(34.43% 0.114 269.2)
XYZxyz(4.8937, 3.8586, 16.7032)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223273 #736322
analogous
#225B73 #223273 #3B2273
triadic
#223273 #732232 #327322
tetradic
#223273 #73225B #736322 #22733B
square
#223273 #73225B #736322 #22733B
split-complementary
#223273 #733B22 #5B7322
monochromatic
#070A18 #141D44 #223273 #3047A2 #4760C9

Accessibility & contrast

On white

11.85
#223273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#223273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223273
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223273#FFFFFF#000000##FFFFFF
##2232731.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033B75
Deuteranopia (green-blind)
#003472
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #223273;
/* rgb */ color: rgb(34, 50, 115);
/* oklch */ color: oklch(34.4% 0.114 269.2);
Tailwind
colors: {
  custom: {
    50: '#68699c',
    500: '#223273',
    950: '#000000',
  },
}
SCSS
$custom: #223273;
$custom-light: #68699c;
$custom-dark: #000000;
JSON
{
  "hex": "#223273",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 115
  },
  "hsl": {
    "h": 228.148,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34431,
    "c": 0.11351,
    "h": 269.2
  },
  "luminance": 0.03859
}

Semantic roles & 50–950 ramp

primary
#223273
secondary
#A6944B
accent
#C14ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #223273

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

Preview Lab → · Contrast checker → · Palette generator →

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