#223C8A#223C8A

#223C8A is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.5% C 0.134 H 266.2°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#223C8A
RGBrgb(34, 60, 138)
HSLhsl(225, 60%, 34%)
HSVhsv(225, 75%, 54%)
CMYKcmyk(75.4%, 56.5%, 0%, 45.9%)
CIE-LABlab(27.86, 19.13, -46.39)
CIE-LCHlch(27.86, 50.18, 292.41°)
OKLaboklab(38.51% -0.0088 -0.1337)
OKLCHoklch(38.51% 0.134 266.2)
XYZxyz(6.8614, 5.4060, 24.7217)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C8A #8A7022
analogous
#22708A #223C8A #3C228A
triadic
#223C8A #8A223C #3C8A22
tetradic
#223C8A #8A2270 #8A7022 #228A3C
square
#223C8A #8A2270 #8A7022 #228A3C
split-complementary
#223C8A #8A3C22 #708A22
monochromatic
#0A1128 #162759 #223C8A #2E51BB #5273D4

Accessibility & contrast

On white

10.09
#223C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#223C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C8A
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C8A#FFFFFF#000000##FFFFFF
##223C8A1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #223c8a;
/* rgb */ color: rgb(34, 60, 138);
/* oklch */ color: oklch(38.5% 0.134 266.2);
Tailwind
colors: {
  custom: {
    50: '#6d71ad',
    500: '#223c8a',
    950: '#000000',
  },
}
SCSS
$custom: #223c8a;
$custom-light: #6d71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#223c8a",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 225,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38513,
    "c": 0.13395,
    "h": 266.2
  },
  "luminance": 0.05407
}

Semantic roles & 50–950 ramp

primary
#223C8A
secondary
#B89E50
accent
#BC44E4
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #223C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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