#223774#223774

#223774 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.6% C 0.108 H 266.6°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#223774
RGBrgb(34, 55, 116)
HSLhsl(225, 55%, 29%)
HSVhsv(225, 71%, 45%)
CMYKcmyk(70.7%, 52.6%, 0%, 54.5%)
CIE-LABlab(24.74, 13.92, -37.62)
CIE-LCHlch(24.74, 40.12, 290.30°)
OKLaboklab(35.62% -0.0064 -0.108)
OKLCHoklch(35.62% 0.108 266.6)
XYZxyz(5.1772, 4.3329, 17.0831)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223774 #745F22
analogous
#226074 #223774 #362274
triadic
#223774 #742237 #377422
tetradic
#223774 #742260 #745F22 #227436
square
#223774 #742260 #745F22 #227436
split-complementary
#223774 #743622 #607422
monochromatic
#070B18 #142145 #223774 #304DA3 #4769C9

Accessibility & contrast

On white

11.25
#223774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#223774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223774
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223774#FFFFFF#000000##FFFFFF
##2237741.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143F76
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#004550
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #223774;
/* rgb */ color: rgb(34, 55, 116);
/* oklch */ color: oklch(35.6% 0.108 266.6);
Tailwind
colors: {
  custom: {
    50: '#686d9c',
    500: '#223774',
    950: '#000000',
  },
}
SCSS
$custom: #223774;
$custom-light: #686d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#223774",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 116
  },
  "hsl": {
    "h": 224.634,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35624,
    "c": 0.10815,
    "h": 266.6
  },
  "luminance": 0.04333
}

Semantic roles & 50–950 ramp

primary
#223774
secondary
#A78F4B
accent
#B84ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #223774

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

Preview Lab → · Contrast checker → · Palette generator →

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