#1C278F#1C278F

#1C278F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.168 H 269.6°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#1C278F
RGBrgb(28, 39, 143)
HSLhsl(234, 67%, 34%)
HSVhsv(234, 80%, 56%)
CMYKcmyk(80.4%, 72.7%, 0%, 43.9%)
CIE-LABlab(22.59, 34.53, -58.13)
CIE-LCHlch(22.59, 67.62, 300.71°)
OKLaboklab(34.68% -0.0012 -0.1684)
OKLCHoklch(34.68% 0.168 269.6)
XYZxyz(6.1606, 3.6804, 26.3670)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C278F #8F841C
analogous
#1C608F #1C278F #4A1C8F
triadic
#1C278F #8F1C27 #278F1C
tetradic
#1C278F #8F1C60 #8F841C #1C8F4A
square
#1C278F #8F1C60 #8F841C #1C8F4A
split-complementary
#1C278F #8F4A1C #608F1C
monochromatic
#080B29 #12195C #1C278F #2635C2 #4A58DC

Accessibility & contrast

On white

12.10
#1C278F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1C278F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C278F
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C278F#FFFFFF#000000##FFFFFF
##1C278F1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00308D
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c278f;
/* rgb */ color: rgb(28, 39, 143);
/* oklch */ color: oklch(34.7% 0.168 269.6);
Tailwind
colors: {
  custom: {
    50: '#6e62b1',
    500: '#1c278f',
    950: '#000000',
  },
}
SCSS
$custom: #1c278f;
$custom-light: #6e62b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c278f",
  "rgb": {
    "r": 28,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 234.261,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34683,
    "c": 0.16838,
    "h": 269.6
  },
  "luminance": 0.03681
}

Semantic roles & 50–950 ramp

primary
#1C278F
secondary
#BEB249
accent
#DA3EEA
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #1C278F

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

Preview Lab → · Contrast checker → · Palette generator →

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