#1C277E#1C277E

#1C277E is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.9% C 0.146 H 270.2°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#1C277E
RGBrgb(28, 39, 126)
HSLhsl(233, 64%, 30%)
HSVhsv(233, 78%, 49%)
CMYKcmyk(77.8%, 69%, 0%, 50.6%)
CIE-LABlab(20.84, 28.16, -50.34)
CIE-LCHlch(20.84, 57.68, 299.22°)
OKLaboklab(32.9% 0.0006 -0.1456)
OKLCHoklch(32.9% 0.146 270.2)
XYZxyz(4.9690, 3.2037, 20.0911)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C277E #7E731C
analogous
#1C587E #1C277E #421C7E
triadic
#1C277E #7E1C27 #277E1C
tetradic
#1C277E #7E1C58 #7E731C #1C7E42
square
#1C277E #7E1C58 #7E731C #1C7E42
split-complementary
#1C277E #7E421C #587E1C
monochromatic
#06081A #11184C #1C277E #2736B0 #4051D5

Accessibility & contrast

On white

12.80
#1C277E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1C277E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C277E
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C277E#FFFFFF#000000##FFFFFF
##1C277E1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1c277e;
/* rgb */ color: rgb(28, 39, 126);
/* oklch */ color: oklch(32.9% 0.146 270.2);
Tailwind
colors: {
  custom: {
    50: '#6961a4',
    500: '#1c277e',
    950: '#000000',
  },
}
SCSS
$custom: #1c277e;
$custom-light: #6961a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c277e",
  "rgb": {
    "r": 28,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 233.265,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32895,
    "c": 0.14564,
    "h": 270.2
  },
  "luminance": 0.03204
}

Semantic roles & 50–950 ramp

primary
#1C277E
secondary
#B2A544
accent
#D441E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1C277E

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

Preview Lab → · Contrast checker → · Palette generator →

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