#1C2C7A#1C2C7A

#1C2C7A is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.5% C 0.134 H 268.9°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#1C2C7A
RGBrgb(28, 44, 122)
HSLhsl(230, 63%, 29%)
HSVhsv(230, 77%, 48%)
CMYKcmyk(77%, 63.9%, 0%, 52.2%)
CIE-LABlab(21.77, 23.16, -46.28)
CIE-LCHlch(21.77, 51.75, 296.59°)
OKLaboklab(33.46% -0.0025 -0.1337)
OKLCHoklch(33.46% 0.134 268.9)
XYZxyz(4.8912, 3.4529, 18.8173)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2C7A #7A6A1C
analogous
#1C5B7A #1C2C7A #3B1C7A
triadic
#1C2C7A #7A1C2C #2C7A1C
tetradic
#1C2C7A #7A1C5B #7A6A1C #1C7A3B
square
#1C2C7A #7A1C5B #7A6A1C #1C7A3B
split-complementary
#1C2C7A #7A3B1C #5B7A1C
monochromatic
#060919 #111A48 #1C2C7A #273EAC #3E57D3

Accessibility & contrast

On white

12.42
#1C2C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1C2C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2C7A
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2C7A#FFFFFF#000000##FFFFFF
##1C2C7A1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#003078
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c2c7a;
/* rgb */ color: rgb(28, 44, 122);
/* oklch */ color: oklch(33.5% 0.134 268.9);
Tailwind
colors: {
  custom: {
    50: '#6865a1',
    500: '#1c2c7a',
    950: '#000000',
  },
}
SCSS
$custom: #1c2c7a;
$custom-light: #6865a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2c7a",
  "rgb": {
    "r": 28,
    "g": 44,
    "b": 122
  },
  "hsl": {
    "h": 229.787,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33463,
    "c": 0.13372,
    "h": 268.9
  },
  "luminance": 0.03453
}

Semantic roles & 50–950 ramp

primary
#1C2C7A
secondary
#AE9C44
accent
#CA42E6
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1C2C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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