#1C277B#1C277B

#1C277B is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.141 H 270.3°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#1C277B
RGBrgb(28, 39, 123)
HSLhsl(233, 63%, 30%)
HSVhsv(233, 77%, 48%)
CMYKcmyk(77.2%, 68.3%, 0%, 51.8%)
CIE-LABlab(20.55, 27.00, -48.92)
CIE-LCHlch(20.55, 55.88, 298.90°)
OKLaboklab(32.59% 0.0009 -0.1415)
OKLCHoklch(32.59% 0.141 270.3)
XYZxyz(4.7783, 3.1275, 19.0869)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C277B #7B701C
analogous
#1C567B #1C277B #411C7B
triadic
#1C277B #7B1C27 #277B1C
tetradic
#1C277B #7B1C56 #7B701C #1C7B41
square
#1C277B #7B1C56 #7B701C #1C7B41
split-complementary
#1C277B #7B411C #567B1C
monochromatic
#060819 #111749 #1C277B #2737AD #3E50D3

Accessibility & contrast

On white

12.92
#1C277B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C277B
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C277B#FFFFFF#000000##FFFFFF
##1C277B1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#002D79
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1c277b;
/* rgb */ color: rgb(28, 39, 123);
/* oklch */ color: oklch(32.6% 0.141 270.3);
Tailwind
colors: {
  custom: {
    50: '#6861a2',
    500: '#1c277b',
    950: '#000000',
  },
}
SCSS
$custom: #1c277b;
$custom-light: #6861a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c277b",
  "rgb": {
    "r": 28,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 233.053,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3259,
    "c": 0.14148,
    "h": 270.3
  },
  "luminance": 0.03128
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C277B

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

Preview Lab → · Contrast checker → · Palette generator →

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