#1C2C79#1C2C79

#1C2C79 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.132 H 268.9°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#1C2C79
RGBrgb(28, 44, 121)
HSLhsl(230, 62%, 29%)
HSVhsv(230, 77%, 47%)
CMYKcmyk(76.9%, 63.6%, 0%, 52.5%)
CIE-LABlab(21.68, 22.77, -45.79)
CIE-LCHlch(21.68, 51.14, 296.44°)
OKLaboklab(33.37% -0.0025 -0.1323)
OKLCHoklch(33.37% 0.132 268.9)
XYZxyz(4.8296, 3.4282, 18.4926)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2C79 #79691C
analogous
#1C5B79 #1C2C79 #3B1C79
triadic
#1C2C79 #791C2C #2C791C
tetradic
#1C2C79 #791C5B #79691C #1C793B
square
#1C2C79 #791C5B #79691C #1C793B
split-complementary
#1C2C79 #793B1C #5B791C
monochromatic
#060919 #101A47 #1C2C79 #283EAB #3D57D2

Accessibility & contrast

On white

12.46
#1C2C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2C79
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2C79#FFFFFF#000000##FFFFFF
##1C2C791.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c2c79;
/* rgb */ color: rgb(28, 44, 121);
/* oklch */ color: oklch(33.4% 0.132 268.9);
Tailwind
colors: {
  custom: {
    50: '#6764a0',
    500: '#1c2c79',
    950: '#000000',
  },
}
SCSS
$custom: #1c2c79;
$custom-light: #6764a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2c79",
  "rgb": {
    "r": 28,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 229.677,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33368,
    "c": 0.13228,
    "h": 268.9
  },
  "luminance": 0.03429
}

Semantic roles & 50–950 ramp

primary
#1C2C79
secondary
#AD9B44
accent
#C942E5
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1C2C79

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

Preview Lab → · Contrast checker → · Palette generator →

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