#1C378F#1C378F

#1C378F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.149 H 266.1°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#1C378F
RGBrgb(28, 55, 143)
HSLhsl(226, 67%, 34%)
HSVhsv(226, 80%, 56%)
CMYKcmyk(80.4%, 61.5%, 0%, 43.9%)
CIE-LABlab(26.63, 23.85, -51.50)
CIE-LCHlch(26.63, 56.76, 294.85°)
OKLaboklab(37.64% -0.0101 -0.1489)
OKLCHoklch(37.64% 0.149 266.1)
XYZxyz(6.8013, 4.9616, 26.5805)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C378F #8F741C
analogous
#1C708F #1C378F #3A1C8F
triadic
#1C378F #8F1C37 #378F1C
tetradic
#1C378F #8F1C70 #8F741C #1C8F3A
square
#1C378F #8F1C70 #8F741C #1C8F3A
split-complementary
#1C378F #8F3A1C #708F1C
monochromatic
#081029 #12235C #1C378F #264BC2 #4A6CDC

Accessibility & contrast

On white

10.54
#1C378F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1C378F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C378F
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C378F#FFFFFF#000000##FFFFFF
##1C378F1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1c378f;
/* rgb */ color: rgb(28, 55, 143);
/* oklch */ color: oklch(37.6% 0.149 266.1);
Tailwind
colors: {
  custom: {
    50: '#6c6db1',
    500: '#1c378f',
    950: '#000000',
  },
}
SCSS
$custom: #1c378f;
$custom-light: #6c6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c378f",
  "rgb": {
    "r": 28,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 225.913,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37644,
    "c": 0.14923,
    "h": 266.1
  },
  "luminance": 0.04962
}

Semantic roles & 50–950 ramp

primary
#1C378F
secondary
#BEA249
accent
#C23EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1C378F

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

Preview Lab → · Contrast checker → · Palette generator →

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