#1C277C#1C277C

#1C277C is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.7% C 0.143 H 270.3°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#1C277C
RGBrgb(28, 39, 124)
HSLhsl(233, 63%, 30%)
HSVhsv(233, 77%, 49%)
CMYKcmyk(77.4%, 68.5%, 0%, 51.4%)
CIE-LABlab(20.64, 27.39, -49.40)
CIE-LCHlch(20.64, 56.48, 299.01°)
OKLaboklab(32.69% 0.0008 -0.1429)
OKLCHoklch(32.69% 0.143 270.3)
XYZxyz(4.8413, 3.1526, 19.4182)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C277C #7C711C
analogous
#1C577C #1C277C #411C7C
triadic
#1C277C #7C1C27 #277C1C
tetradic
#1C277C #7C1C57 #7C711C #1C7C41
square
#1C277C #7C1C57 #7C711C #1C7C41
split-complementary
#1C277C #7C411C #577C1C
monochromatic
#060819 #11174A #1C277C #2737AE #3F50D4

Accessibility & contrast

On white

12.88
#1C277C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1C277C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C277C
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C277C#FFFFFF#000000##FFFFFF
##1C277C1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#002D7A
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1c277c;
/* rgb */ color: rgb(28, 39, 124);
/* oklch */ color: oklch(32.7% 0.143 270.3);
Tailwind
colors: {
  custom: {
    50: '#6961a3',
    500: '#1c277c',
    950: '#000000',
  },
}
SCSS
$custom: #1c277c;
$custom-light: #6961a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c277c",
  "rgb": {
    "r": 28,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 233.125,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32691,
    "c": 0.14287,
    "h": 270.3
  },
  "luminance": 0.03153
}

Semantic roles & 50–950 ramp

primary
#1C277C
secondary
#B0A344
accent
#D342E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1C277C

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

Preview Lab → · Contrast checker → · Palette generator →

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