#1C2C7E#1C2C7E

#1C2C7E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.8% C 0.139 H 268.9°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#1C2C7E
RGBrgb(28, 44, 126)
HSLhsl(230, 64%, 30%)
HSVhsv(230, 78%, 49%)
CMYKcmyk(77.8%, 65.1%, 0%, 50.6%)
CIE-LABlab(22.14, 24.74, -48.22)
CIE-LCHlch(22.14, 54.19, 297.16°)
OKLaboklab(33.85% -0.0026 -0.1394)
OKLCHoklch(33.85% 0.139 268.9)
XYZxyz(5.1442, 3.5540, 20.1495)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2C7E #7E6E1C
analogous
#1C5D7E #1C2C7E #3D1C7E
triadic
#1C2C7E #7E1C2C #2C7E1C
tetradic
#1C2C7E #7E1C5D #7E6E1C #1C7E3D
square
#1C2C7E #7E1C5D #7E6E1C #1C7E3D
split-complementary
#1C2C7E #7E3D1C #5D7E1C
monochromatic
#06091A #111B4C #1C2C7E #273DB0 #4058D5

Accessibility & contrast

On white

12.27
#1C2C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1C2C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2C7E
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2C7E#FFFFFF#000000##FFFFFF
##1C2C7E1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c2c7e;
/* rgb */ color: rgb(28, 44, 126);
/* oklch */ color: oklch(33.8% 0.139 268.9);
Tailwind
colors: {
  custom: {
    50: '#6965a4',
    500: '#1c2c7e',
    950: '#000000',
  },
}
SCSS
$custom: #1c2c7e;
$custom-light: #6965a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2c7e",
  "rgb": {
    "r": 28,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 230.204,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33846,
    "c": 0.1394,
    "h": 268.9
  },
  "luminance": 0.03555
}

Semantic roles & 50–950 ramp

primary
#1C2C7E
secondary
#B2A044
accent
#CC41E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1C2C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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