#223279#223279

#223279 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.9% C 0.122 H 269.4°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#223279
RGBrgb(34, 50, 121)
HSLhsl(229, 56%, 30%)
HSVhsv(229, 72%, 47%)
CMYKcmyk(71.9%, 58.7%, 0%, 52.5%)
CIE-LABlab(23.68, 19.41, -42.53)
CIE-LCHlch(23.68, 46.75, 294.53°)
OKLaboklab(34.94% -0.0012 -0.1225)
OKLCHoklch(34.94% 0.122 269.4)
XYZxyz(5.2503, 4.0012, 18.5811)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223279 #796922
analogous
#225D79 #223279 #3E2279
triadic
#223279 #792232 #327922
tetradic
#223279 #79225D #796922 #22793E
square
#223279 #79225D #796922 #22793E
split-complementary
#223279 #793E22 #5D7922
monochromatic
#070B19 #151E49 #223279 #2F46A9 #4961CC

Accessibility & contrast

On white

11.66
#223279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#223279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223279
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223279#FFFFFF#000000##FFFFFF
##2232791.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#003578
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #223279;
/* rgb */ color: rgb(34, 50, 121);
/* oklch */ color: oklch(34.9% 0.122 269.4);
Tailwind
colors: {
  custom: {
    50: '#6969a0',
    500: '#223279',
    950: '#000000',
  },
}
SCSS
$custom: #223279;
$custom-light: #6969a0;
$custom-dark: #000000;
JSON
{
  "hex": "#223279",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 121
  },
  "hsl": {
    "h": 228.966,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34941,
    "c": 0.12248,
    "h": 269.4
  },
  "luminance": 0.04002
}

Semantic roles & 50–950 ramp

primary
#223279
secondary
#AC9A4B
accent
#C448DF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #223279

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

Preview Lab → · Contrast checker → · Palette generator →

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