#1C378E#1C378E

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

Color values

HEX#1C378E
RGBrgb(28, 55, 142)
HSLhsl(226, 67%, 33%)
HSVhsv(226, 80%, 56%)
CMYKcmyk(80.3%, 61.3%, 0%, 44.3%)
CIE-LABlab(26.54, 23.45, -51.03)
CIE-LCHlch(26.54, 56.16, 294.68°)
OKLaboklab(37.55% -0.0101 -0.1475)
OKLCHoklch(37.55% 0.148 266.1)
XYZxyz(6.7258, 4.9315, 26.1833)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C378E #8E731C
analogous
#1C708E #1C378E #3A1C8E
triadic
#1C378E #8E1C37 #378E1C
tetradic
#1C378E #8E1C70 #8E731C #1C8E3A
square
#1C378E #8E1C70 #8E731C #1C8E3A
split-complementary
#1C378E #8E3A1C #708E1C
monochromatic
#080F28 #12235B #1C378E #264BC1 #496CDB

Accessibility & contrast

On white

10.57
#1C378E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C378E
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C378E#FFFFFF#000000##FFFFFF
##1C378E1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c378e;
/* rgb */ color: rgb(28, 55, 142);
/* oklch */ color: oklch(37.6% 0.148 266.1);
Tailwind
colors: {
  custom: {
    50: '#6c6db0',
    500: '#1c378e',
    950: '#000000',
  },
}
SCSS
$custom: #1c378e;
$custom-light: #6c6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c378e",
  "rgb": {
    "r": 28,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 225.789,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37552,
    "c": 0.14784,
    "h": 266.1
  },
  "luminance": 0.04932
}

Semantic roles & 50–950 ramp

primary
#1C378E
secondary
#BDA249
accent
#C13EEA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1C378E

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

Preview Lab → · Contrast checker → · Palette generator →

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