#223C94#223C94

#223C94 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.148 H 266.8°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#223C94
RGBrgb(34, 60, 148)
HSLhsl(226, 63%, 36%)
HSVhsv(226, 77%, 58%)
CMYKcmyk(77%, 59.5%, 0%, 42%)
CIE-LABlab(28.67, 23.06, -51.24)
CIE-LCHlch(28.67, 56.19, 294.23°)
OKLaboklab(39.37% -0.0083 -0.1479)
OKLCHoklch(39.37% 0.148 266.8)
XYZxyz(7.6190, 5.7091, 28.7117)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C94 #947A22
analogous
#227594 #223C94 #412294
triadic
#223C94 #94223C #3C9422
tetradic
#223C94 #942275 #947A22 #229441
square
#223C94 #942275 #947A22 #229441
split-complementary
#223C94 #944122 #759422
monochromatic
#0B1430 #172862 #223C94 #2D50C6 #5875D9

Accessibility & contrast

On white

9.80
#223C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#223C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C94
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C94#FFFFFF#000000##FFFFFF
##223C941.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #223c94;
/* rgb */ color: rgb(34, 60, 148);
/* oklch */ color: oklch(39.4% 0.148 266.8);
Tailwind
colors: {
  custom: {
    50: '#6f71b4',
    500: '#223c94',
    950: '#000000',
  },
}
SCSS
$custom: #223c94;
$custom-light: #6f71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#223c94",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 148
  },
  "hsl": {
    "h": 226.316,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3937,
    "c": 0.14815,
    "h": 266.8
  },
  "luminance": 0.0571
}

Semantic roles & 50–950 ramp

primary
#223C94
secondary
#BDA555
accent
#C042E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #223C94

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

Preview Lab → · Contrast checker → · Palette generator →

#223C94 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva