#1C378C#1C378C

#1C378C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.145 H 266.0°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#1C378C
RGBrgb(28, 55, 140)
HSLhsl(226, 67%, 33%)
HSVhsv(226, 80%, 55%)
CMYKcmyk(80%, 60.7%, 0%, 45.1%)
CIE-LABlab(26.37, 22.66, -50.07)
CIE-LCHlch(26.37, 54.96, 294.35°)
OKLaboklab(37.37% -0.0102 -0.1447)
OKLCHoklch(37.37% 0.145 266)
XYZxyz(6.5770, 4.8719, 25.3996)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C378C #8C711C
analogous
#1C6F8C #1C378C #391C8C
triadic
#1C378C #8C1C37 #378C1C
tetradic
#1C378C #8C1C6F #8C711C #1C8C39
square
#1C378C #8C1C6F #8C711C #1C8C39
split-complementary
#1C378C #8C391C #6F8C1C
monochromatic
#080F26 #122359 #1C378C #264BBF #486BDA

Accessibility & contrast

On white

10.64
#1C378C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1C378C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C378C
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C378C#FFFFFF#000000##FFFFFF
##1C378C1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1c378c;
/* rgb */ color: rgb(28, 55, 140);
/* oklch */ color: oklch(37.4% 0.145 266.0);
Tailwind
colors: {
  custom: {
    50: '#6c6dae',
    500: '#1c378c',
    950: '#000000',
  },
}
SCSS
$custom: #1c378c;
$custom-light: #6c6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#1c378c",
  "rgb": {
    "r": 28,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 225.536,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37371,
    "c": 0.14504,
    "h": 266
  },
  "luminance": 0.04873
}

Semantic roles & 50–950 ramp

primary
#1C378C
secondary
#BCA048
accent
#C03EEA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1C378C

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

Preview Lab → · Contrast checker → · Palette generator →

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