#223C8C#223C8C

#223C8C is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.137 H 266.3°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#223C8C
RGBrgb(34, 60, 140)
HSLhsl(225, 61%, 34%)
HSVhsv(225, 76%, 55%)
CMYKcmyk(75.7%, 57.1%, 0%, 45.1%)
CIE-LABlab(28.02, 19.92, -47.37)
CIE-LCHlch(28.02, 51.39, 292.81°)
OKLaboklab(38.68% -0.0087 -0.1365)
OKLCHoklch(38.68% 0.137 266.3)
XYZxyz(7.0075, 5.4645, 25.4913)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C8C #8C7222
analogous
#22718C #223C8C #3D228C
triadic
#223C8C #8C223C #3C8C22
tetradic
#223C8C #8C2271 #8C7222 #228C3D
square
#223C8C #8C2271 #8C7222 #228C3D
split-complementary
#223C8C #8C3D22 #718C22
monochromatic
#0A122A #16275B #223C8C #2E51BD #5373D5

Accessibility & contrast

On white

10.03
#223C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#223C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C8C
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C8C#FFFFFF#000000##FFFFFF
##223C8C1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #223c8c;
/* rgb */ color: rgb(34, 60, 140);
/* oklch */ color: oklch(38.7% 0.137 266.3);
Tailwind
colors: {
  custom: {
    50: '#6d71ae',
    500: '#223c8c',
    950: '#000000',
  },
}
SCSS
$custom: #223c8c;
$custom-light: #6d71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#223c8c",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 140
  },
  "hsl": {
    "h": 225.283,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38681,
    "c": 0.13683,
    "h": 266.3
  },
  "luminance": 0.05465
}

Semantic roles & 50–950 ramp

primary
#223C8C
secondary
#B99F51
accent
#BD44E4
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #223C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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