#1C278B#1C278B

#1C278B is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.163 H 269.8°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#1C278B
RGBrgb(28, 39, 139)
HSLhsl(234, 66%, 33%)
HSVhsv(234, 80%, 55%)
CMYKcmyk(79.9%, 71.9%, 0%, 45.5%)
CIE-LABlab(22.16, 33.06, -56.34)
CIE-LCHlch(22.16, 65.32, 300.40°)
OKLaboklab(34.25% -0.0007 -0.1631)
OKLCHoklch(34.25% 0.163 269.8)
XYZxyz(5.8630, 3.5613, 24.7995)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C278B #8B801C
analogous
#1C5E8B #1C278B #481C8B
triadic
#1C278B #8B1C27 #278B1C
tetradic
#1C278B #8B1C5E #8B801C #1C8B48
square
#1C278B #8B1C5E #8B801C #1C8B48
split-complementary
#1C278B #8B481C #5E8B1C
monochromatic
#070A25 #121958 #1C278B #2635BE #4756DA

Accessibility & contrast

On white

12.26
#1C278B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1C278B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C278B
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C278B#FFFFFF#000000##FFFFFF
##1C278B1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003089
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c278b;
/* rgb */ color: rgb(28, 39, 139);
/* oklch */ color: oklch(34.3% 0.163 269.8);
Tailwind
colors: {
  custom: {
    50: '#6d61ae',
    500: '#1c278b',
    950: '#000000',
  },
}
SCSS
$custom: #1c278b;
$custom-light: #6d61ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1c278b",
  "rgb": {
    "r": 28,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 234.054,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34254,
    "c": 0.16315,
    "h": 269.8
  },
  "luminance": 0.03562
}

Semantic roles & 50–950 ramp

primary
#1C278B
secondary
#BCB047
accent
#D83EE9
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1C278B

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

Preview Lab → · Contrast checker → · Palette generator →

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