#223978#223978

#223978 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.4% C 0.111 H 265.9°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#223978
RGBrgb(34, 57, 120)
HSLhsl(224, 56%, 30%)
HSVhsv(224, 72%, 47%)
CMYKcmyk(71.7%, 52.5%, 0%, 52.9%)
CIE-LABlab(25.63, 14.10, -38.73)
CIE-LCHlch(25.63, 41.22, 290.00°)
OKLaboklab(36.39% -0.0079 -0.1112)
OKLCHoklch(36.39% 0.111 265.9)
XYZxyz(5.5118, 4.6219, 18.3673)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223978 #786122
analogous
#226478 #223978 #362278
triadic
#223978 #782239 #397822
tetradic
#223978 #782264 #786122 #227836
square
#223978 #782264 #786122 #227836
split-complementary
#223978 #783622 #647822
monochromatic
#070C19 #142248 #223978 #3050A8 #496CCB

Accessibility & contrast

On white

10.91
#223978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#223978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223978
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223978#FFFFFF#000000##FFFFFF
##2239781.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14417A
Deuteranopia (green-blind)
#003977
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #223978;
/* rgb */ color: rgb(34, 57, 120);
/* oklch */ color: oklch(36.4% 0.111 265.9);
Tailwind
colors: {
  custom: {
    50: '#696e9f',
    500: '#223978',
    950: '#000000',
  },
}
SCSS
$custom: #223978;
$custom-light: #696e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#223978",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 120
  },
  "hsl": {
    "h": 223.953,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36391,
    "c": 0.11147,
    "h": 265.9
  },
  "luminance": 0.04622
}

Semantic roles & 50–950 ramp

primary
#223978
secondary
#AB914B
accent
#B749DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #223978

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

Preview Lab → · Contrast checker → · Palette generator →

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