#1C284F#1C284F

#1C284F is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.9% C 0.073 H 268.7°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#1C284F
RGBrgb(28, 40, 79)
HSLhsl(226, 48%, 21%)
HSVhsv(226, 65%, 31%)
CMYKcmyk(64.6%, 49.4%, 0%, 69%)
CIE-LABlab(17.13, 8.80, -25.61)
CIE-LCHlch(17.13, 27.08, 288.96°)
OKLaboklab(28.87% -0.0017 -0.073)
OKLCHoklch(28.87% 0.073 268.7)
XYZxyz(2.6485, 2.3288, 7.7055)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C284F #4F431C
analogous
#1C414F #1C284F #291C4F
triadic
#1C284F #4F1C28 #284F1C
tetradic
#1C284F #4F1C41 #4F431C #1C4F29
square
#1C284F #4F1C41 #4F431C #1C4F29
split-complementary
#1C284F #4F291C #414F1C
monochromatic
#080B17 #0C1122 #1C284F #2C3F7C #3C56A9

Accessibility & contrast

On white

14.33
#1C284F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1C284F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C284F
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C284F#FFFFFF#000000##FFFFFF
##1C284F1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162D50
Deuteranopia (green-blind)
#0F284E
Tritanopia (blue-blind)
#003137
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1c284f;
/* rgb */ color: rgb(28, 40, 79);
/* oklch */ color: oklch(28.9% 0.073 268.7);
Tailwind
colors: {
  custom: {
    50: '#5d6180',
    500: '#1c284f',
    950: '#000000',
  },
}
SCSS
$custom: #1c284f;
$custom-light: #5d6180;
$custom-dark: #000000;
JSON
{
  "hex": "#1c284f",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 79
  },
  "hsl": {
    "h": 225.882,
    "s": 47.664,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28873,
    "c": 0.07303,
    "h": 268.7
  },
  "luminance": 0.02329
}

Semantic roles & 50–950 ramp

primary
#1C284F
secondary
#857542
accent
#B851D7
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #1C284F

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

Preview Lab → · Contrast checker → · Palette generator →

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