#1C277F#1C277F

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

Color values

HEX#1C277F
RGBrgb(28, 39, 127)
HSLhsl(233, 64%, 30%)
HSVhsv(233, 78%, 50%)
CMYKcmyk(78%, 69.3%, 0%, 50.2%)
CIE-LABlab(20.94, 28.54, -50.81)
CIE-LCHlch(20.94, 58.28, 299.32°)
OKLaboklab(33% 0.0005 -0.147)
OKLCHoklch(33% 0.147 270.2)
XYZxyz(5.0339, 3.2297, 20.4327)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C277F #7F741C
analogous
#1C597F #1C277F #421C7F
triadic
#1C277F #7F1C27 #277F1C
tetradic
#1C277F #7F1C59 #7F741C #1C7F42
square
#1C277F #7F1C59 #7F741C #1C7F42
split-complementary
#1C277F #7F421C #597F1C
monochromatic
#06081B #11184D #1C277F #2736B1 #4051D5

Accessibility & contrast

On white

12.76
#1C277F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1C277F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C277F
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C277F#FFFFFF#000000##FFFFFF
##1C277F1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1c277f;
/* rgb */ color: rgb(28, 39, 127);
/* oklch */ color: oklch(33.0% 0.147 270.2);
Tailwind
colors: {
  custom: {
    50: '#6961a5',
    500: '#1c277f',
    950: '#000000',
  },
}
SCSS
$custom: #1c277f;
$custom-light: #6961a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c277f",
  "rgb": {
    "r": 28,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 233.333,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32998,
    "c": 0.14701,
    "h": 270.2
  },
  "luminance": 0.0323
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C277F

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

Preview Lab → · Contrast checker → · Palette generator →

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