#1C2C7C#1C2C7C

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

Color values

HEX#1C2C7C
RGBrgb(28, 44, 124)
HSLhsl(230, 63%, 30%)
HSVhsv(230, 77%, 49%)
CMYKcmyk(77.4%, 64.5%, 0%, 51.4%)
CIE-LABlab(21.95, 23.95, -47.25)
CIE-LCHlch(21.95, 52.97, 296.88°)
OKLaboklab(33.65% -0.0026 -0.1365)
OKLCHoklch(33.65% 0.137 268.9)
XYZxyz(5.0164, 3.5029, 19.4766)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2C7C #7C6C1C
analogous
#1C5C7C #1C2C7C #3C1C7C
triadic
#1C2C7C #7C1C2C #2C7C1C
tetradic
#1C2C7C #7C1C5C #7C6C1C #1C7C3C
square
#1C2C7C #7C1C5C #7C6C1C #1C7C3C
split-complementary
#1C2C7C #7C3C1C #5C7C1C
monochromatic
#060919 #111A4A #1C2C7C #273EAE #3F58D4

Accessibility & contrast

On white

12.35
#1C2C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1C2C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2C7C
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2C7C#FFFFFF#000000##FFFFFF
##1C2C7C1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c2c7c;
/* rgb */ color: rgb(28, 44, 124);
/* oklch */ color: oklch(33.7% 0.137 268.9);
Tailwind
colors: {
  custom: {
    50: '#6865a3',
    500: '#1c2c7c',
    950: '#000000',
  },
}
SCSS
$custom: #1c2c7c;
$custom-light: #6865a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2c7c",
  "rgb": {
    "r": 28,
    "g": 44,
    "b": 124
  },
  "hsl": {
    "h": 230,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33653,
    "c": 0.13657,
    "h": 268.9
  },
  "luminance": 0.03503
}

Semantic roles & 50–950 ramp

primary
#1C2C7C
secondary
#B09E44
accent
#CB42E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1C2C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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