#1C278D#1C278D

#1C278D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.166 H 269.7°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#1C278D
RGBrgb(28, 39, 141)
HSLhsl(234, 67%, 33%)
HSVhsv(234, 80%, 55%)
CMYKcmyk(80.1%, 72.3%, 0%, 44.7%)
CIE-LABlab(22.37, 33.80, -57.24)
CIE-LCHlch(22.37, 66.47, 300.56°)
OKLaboklab(34.47% -0.0009 -0.1658)
OKLCHoklch(34.47% 0.166 269.7)
XYZxyz(6.0105, 3.6203, 25.5762)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C278D #8D821C
analogous
#1C5F8D #1C278D #491C8D
triadic
#1C278D #8D1C27 #278D1C
tetradic
#1C278D #8D1C5F #8D821C #1C8D49
square
#1C278D #8D1C5F #8D821C #1C8D49
split-complementary
#1C278D #8D491C #5F8D1C
monochromatic
#080B27 #12195A #1C278D #2635C0 #4957DB

Accessibility & contrast

On white

12.18
#1C278D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1C278D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C278D
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C278D#FFFFFF#000000##FFFFFF
##1C278D1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00308B
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c278d;
/* rgb */ color: rgb(28, 39, 141);
/* oklch */ color: oklch(34.5% 0.166 269.7);
Tailwind
colors: {
  custom: {
    50: '#6d61af',
    500: '#1c278d',
    950: '#000000',
  },
}
SCSS
$custom: #1c278d;
$custom-light: #6d61af;
$custom-dark: #000000;
JSON
{
  "hex": "#1c278d",
  "rgb": {
    "r": 28,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 234.159,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34468,
    "c": 0.16577,
    "h": 269.7
  },
  "luminance": 0.03621
}

Semantic roles & 50–950 ramp

primary
#1C278D
secondary
#BDB148
accent
#D93EEA
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #1C278D

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

Preview Lab → · Contrast checker → · Palette generator →

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