#1C283F#1C283F

#1C283F is a dark, muted blue. Relative luminance 0.021; OKLCH L 27.8% C 0.046 H 262.7°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#1C283F
RGBrgb(28, 40, 63)
HSLhsl(219, 38%, 18%)
HSVhsv(219, 56%, 25%)
CMYKcmyk(55.6%, 36.5%, 0%, 75.3%)
CIE-LABlab(16.12, 2.62, -16.23)
CIE-LCHlch(16.12, 16.44, 279.15°)
OKLaboklab(27.77% -0.0058 -0.0456)
OKLCHoklch(27.77% 0.046 262.7)
XYZxyz(2.1346, 2.1232, 4.9990)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C283F #3F331C
analogous
#1C393F #1C283F #211C3F
triadic
#1C283F #3F1C28 #283F1C
tetradic
#1C283F #3F1C39 #3F331C #1C3F21
square
#1C283F #3F1C39 #3F331C #1C3F21
split-complementary
#1C283F #3F211C #393F1C
monochromatic
#090D15 #090D15 #1C283F #2F4369 #425E94

Accessibility & contrast

On white

14.74
#1C283F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1C283F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C283F
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C283F#FFFFFF#000000##FFFFFF
##1C283F1.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2A40
Deuteranopia (green-blind)
#1B273E
Tritanopia (blue-blind)
#0D2D30
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1c283f;
/* rgb */ color: rgb(28, 40, 63);
/* oklch */ color: oklch(27.8% 0.046 262.7);
Tailwind
colors: {
  custom: {
    50: '#5b6174',
    500: '#1c283f',
    950: '#000000',
  },
}
SCSS
$custom: #1c283f;
$custom-light: #5b6174;
$custom-dark: #000000;
JSON
{
  "hex": "#1c283f",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 63
  },
  "hsl": {
    "h": 219.429,
    "s": 38.462,
    "l": 17.843
  },
  "oklch": {
    "l": 0.2777,
    "c": 0.04598,
    "h": 262.7
  },
  "luminance": 0.02123
}

Semantic roles & 50–950 ramp

primary
#1C283F
secondary
#746343
accent
#A659CE
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040508
muted
#79797B

Preview Lab

Preview with #1C283F

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

Preview Lab → · Contrast checker → · Palette generator →

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