#1C277D#1C277D

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

Color values

HEX#1C277D
RGBrgb(28, 39, 125)
HSLhsl(233, 63%, 30%)
HSVhsv(233, 78%, 49%)
CMYKcmyk(77.6%, 68.8%, 0%, 51%)
CIE-LABlab(20.74, 27.77, -49.87)
CIE-LCHlch(20.74, 57.08, 299.11°)
OKLaboklab(32.79% 0.0007 -0.1443)
OKLCHoklch(32.79% 0.144 270.3)
XYZxyz(4.9048, 3.1781, 19.7530)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C277D #7D721C
analogous
#1C577D #1C277D #421C7D
triadic
#1C277D #7D1C27 #277D1C
tetradic
#1C277D #7D1C57 #7D721C #1C7D42
square
#1C277D #7D1C57 #7D721C #1C7D42
split-complementary
#1C277D #7D421C #577D1C
monochromatic
#060819 #11174B #1C277D #2737AF #3F50D4

Accessibility & contrast

On white

12.84
#1C277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C277D
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C277D#FFFFFF#000000##FFFFFF
##1C277D1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#002D7B
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1c277d;
/* rgb */ color: rgb(28, 39, 125);
/* oklch */ color: oklch(32.8% 0.144 270.3);
Tailwind
colors: {
  custom: {
    50: '#6961a4',
    500: '#1c277d',
    950: '#000000',
  },
}
SCSS
$custom: #1c277d;
$custom-light: #6961a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c277d",
  "rgb": {
    "r": 28,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 233.196,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.32793,
    "c": 0.14426,
    "h": 270.3
  },
  "luminance": 0.03179
}

Semantic roles & 50–950 ramp

primary
#1C277D
secondary
#B1A444
accent
#D441E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1C277D

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

Preview Lab → · Contrast checker → · Palette generator →

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