#1C2C4E#1C2C4E

#1C2C4E is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.8% C 0.066 H 263.8°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#1C2C4E
RGBrgb(28, 44, 78)
HSLhsl(221, 47%, 21%)
HSVhsv(221, 64%, 31%)
CMYKcmyk(64.1%, 43.6%, 0%, 69.4%)
CIE-LABlab(18.36, 5.49, -22.98)
CIE-LCHlch(18.36, 23.62, 283.43°)
OKLaboklab(29.8% -0.007 -0.0652)
OKLCHoklch(29.8% 0.066 263.8)
XYZxyz(2.7542, 2.5981, 7.5626)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2C4E #4E3E1C
analogous
#1C454E #1C2C4E #251C4E
triadic
#1C2C4E #4E1C2C #2C4E1C
tetradic
#1C2C4E #4E1C45 #4E3E1C #1C4E25
square
#1C2C4E #4E1C45 #4E3E1C #1C4E25
split-complementary
#1C2C4E #4E251C #454E1C
monochromatic
#080D17 #0C1321 #1C2C4E #2C457B #3C5FA8

Accessibility & contrast

On white

13.82
#1C2C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1C2C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2C4E
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2C4E#FFFFFF#000000##FFFFFF
##1C2C4E1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2F4F
Deuteranopia (green-blind)
#172B4D
Tritanopia (blue-blind)
#003439
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1c2c4e;
/* rgb */ color: rgb(28, 44, 78);
/* oklch */ color: oklch(29.8% 0.066 263.8);
Tailwind
colors: {
  custom: {
    50: '#5d6480',
    500: '#1c2c4e',
    950: '#000000',
  },
}
SCSS
$custom: #1c2c4e;
$custom-light: #5d6480;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2c4e",
  "rgb": {
    "r": 28,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 220.8,
    "s": 47.17,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29798,
    "c": 0.06561,
    "h": 263.8
  },
  "luminance": 0.02598
}

Semantic roles & 50–950 ramp

primary
#1C2C4E
secondary
#846F42
accent
#AC51D7
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #1C2C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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