#1C277A#1C277A

#1C277A is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.140 H 270.4°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#1C277A
RGBrgb(28, 39, 122)
HSLhsl(233, 63%, 29%)
HSVhsv(233, 77%, 48%)
CMYKcmyk(77%, 68%, 0%, 52.2%)
CIE-LABlab(20.45, 26.62, -48.44)
CIE-LCHlch(20.45, 55.27, 298.79°)
OKLaboklab(32.49% 0.0009 -0.1401)
OKLCHoklch(32.49% 0.14 270.4)
XYZxyz(4.7161, 3.1026, 18.7589)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C277A #7A6F1C
analogous
#1C567A #1C277A #401C7A
triadic
#1C277A #7A1C27 #277A1C
tetradic
#1C277A #7A1C56 #7A6F1C #1C7A40
square
#1C277A #7A1C56 #7A6F1C #1C7A40
split-complementary
#1C277A #7A401C #567A1C
monochromatic
#060819 #111748 #1C277A #2737AC #3E4FD3

Accessibility & contrast

On white

12.96
#1C277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1C277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C277A
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C277A#FFFFFF#000000##FFFFFF
##1C277A1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#002D78
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1c277a;
/* rgb */ color: rgb(28, 39, 122);
/* oklch */ color: oklch(32.5% 0.140 270.4);
Tailwind
colors: {
  custom: {
    50: '#6861a1',
    500: '#1c277a',
    950: '#000000',
  },
}
SCSS
$custom: #1c277a;
$custom-light: #6861a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c277a",
  "rgb": {
    "r": 28,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 232.979,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32489,
    "c": 0.14009,
    "h": 270.4
  },
  "luminance": 0.03103
}

Semantic roles & 50–950 ramp

primary
#1C277A
secondary
#AEA244
accent
#D342E6
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1C277A

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

Preview Lab → · Contrast checker → · Palette generator →

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