#1C278C#1C278C

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

Color values

HEX#1C278C
RGBrgb(28, 39, 140)
HSLhsl(234, 67%, 33%)
HSVhsv(234, 80%, 55%)
CMYKcmyk(80%, 72.1%, 0%, 45.1%)
CIE-LABlab(22.27, 33.43, -56.79)
CIE-LCHlch(22.27, 65.90, 300.48°)
OKLaboklab(34.36% -0.0008 -0.1645)
OKLCHoklch(34.36% 0.164 269.7)
XYZxyz(5.9364, 3.5907, 25.1861)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C278C #8C811C
analogous
#1C5F8C #1C278C #491C8C
triadic
#1C278C #8C1C27 #278C1C
tetradic
#1C278C #8C1C5F #8C811C #1C8C49
square
#1C278C #8C1C5F #8C811C #1C8C49
split-complementary
#1C278C #8C491C #5F8C1C
monochromatic
#080B26 #121959 #1C278C #2635BF #4856DA

Accessibility & contrast

On white

12.22
#1C278C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C278C
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C278C#FFFFFF#000000##FFFFFF
##1C278C1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00308A
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c278c;
/* rgb */ color: rgb(28, 39, 140);
/* oklch */ color: oklch(34.4% 0.164 269.7);
Tailwind
colors: {
  custom: {
    50: '#6d61af',
    500: '#1c278c',
    950: '#000000',
  },
}
SCSS
$custom: #1c278c;
$custom-light: #6d61af;
$custom-dark: #000000;
JSON
{
  "hex": "#1c278c",
  "rgb": {
    "r": 28,
    "g": 39,
    "b": 140
  },
  "hsl": {
    "h": 234.107,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34361,
    "c": 0.16446,
    "h": 269.7
  },
  "luminance": 0.03591
}

Semantic roles & 50–950 ramp

primary
#1C278C
secondary
#BCB148
accent
#D93EEA
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080510
muted
#7B797F

Preview Lab

Preview with #1C278C

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

Preview Lab → · Contrast checker → · Palette generator →

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