#1C223E#1C223E

#1C223E is a dark, muted blue. Relative luminance 0.017; OKLCH L 26.2% C 0.053 H 273.1°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#1C223E
RGBrgb(28, 34, 62)
HSLhsl(229, 38%, 18%)
HSVhsv(229, 55%, 24%)
CMYKcmyk(54.8%, 45.2%, 0%, 75.7%)
CIE-LABlab(14.05, 6.65, -18.80)
CIE-LCHlch(14.05, 19.94, 289.47°)
OKLaboklab(26.15% 0.0028 -0.0531)
OKLCHoklch(26.15% 0.053 273.1)
XYZxyz(1.9201, 1.7386, 4.7909)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C223E #3E381C
analogous
#1C333E #1C223E #271C3E
triadic
#1C223E #3E1C22 #223E1C
tetradic
#1C223E #3E1C33 #3E381C #1C3E27
square
#1C223E #3E1C33 #3E381C #1C3E27
split-complementary
#1C223E #3E271C #333E1C
monochromatic
#0A0C15 #0A0C15 #1C223E #2F3968 #425092

Accessibility & contrast

On white

15.58
#1C223E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#1C223E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C223E
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C223E#FFFFFF#000000##FFFFFF
##1C223E1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17253F
Deuteranopia (green-blind)
#14223D
Tritanopia (blue-blind)
#0F282D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1c223e;
/* rgb */ color: rgb(28, 34, 62);
/* oklch */ color: oklch(26.2% 0.053 273.1);
Tailwind
colors: {
  custom: {
    50: '#5b5c73',
    500: '#1c223e',
    950: '#000000',
  },
}
SCSS
$custom: #1c223e;
$custom-light: #5b5c73;
$custom-dark: #000000;
JSON
{
  "hex": "#1c223e",
  "rgb": {
    "r": 28,
    "g": 34,
    "b": 62
  },
  "hsl": {
    "h": 229.412,
    "s": 37.778,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2615,
    "c": 0.05318,
    "h": 273.1
  },
  "luminance": 0.01739
}

Semantic roles & 50–950 ramp

primary
#1C223E
secondary
#736A43
accent
#B95ACE
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040408
muted
#79797B

Preview Lab

Preview with #1C223E

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

Preview Lab → · Contrast checker → · Palette generator →

#1C223E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva