#1C278E#1C278E

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

Color values

HEX#1C278E
RGBrgb(28, 39, 142)
HSLhsl(234, 67%, 33%)
HSVhsv(234, 80%, 56%)
CMYKcmyk(80.3%, 72.5%, 0%, 44.3%)
CIE-LABlab(22.48, 34.16, -57.69)
CIE-LCHlch(22.48, 67.05, 300.63°)
OKLaboklab(34.58% -0.0011 -0.1671)
OKLCHoklch(34.58% 0.167 269.6)
XYZxyz(6.0852, 3.6502, 25.9698)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C278E #8E831C
analogous
#1C608E #1C278E #4A1C8E
triadic
#1C278E #8E1C27 #278E1C
tetradic
#1C278E #8E1C60 #8E831C #1C8E4A
square
#1C278E #8E1C60 #8E831C #1C8E4A
split-complementary
#1C278E #8E4A1C #608E1C
monochromatic
#080B28 #12195B #1C278E #2635C1 #4957DB

Accessibility & contrast

On white

12.14
#1C278E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1C278E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C278E
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C278E#FFFFFF#000000##FFFFFF
##1C278E1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00308C
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c278e;
/* rgb */ color: rgb(28, 39, 142);
/* oklch */ color: oklch(34.6% 0.167 269.6);
Tailwind
colors: {
  custom: {
    50: '#6e62b0',
    500: '#1c278e',
    950: '#000000',
  },
}
SCSS
$custom: #1c278e;
$custom-light: #6e62b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c278e",
  "rgb": {
    "r": 28,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 234.211,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34576,
    "c": 0.16708,
    "h": 269.6
  },
  "luminance": 0.03651
}

Semantic roles & 50–950 ramp

primary
#1C278E
secondary
#BDB249
accent
#D93EEA
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #1C278E

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

Preview Lab → · Contrast checker → · Palette generator →

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