#1C387E#1C387E

#1C387E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.4% C 0.124 H 264.5°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#1C387E
RGBrgb(28, 56, 126)
HSLhsl(223, 64%, 30%)
HSVhsv(223, 78%, 49%)
CMYKcmyk(77.8%, 55.6%, 0%, 50.6%)
CIE-LABlab(25.51, 16.32, -42.73)
CIE-LCHlch(25.51, 45.74, 290.90°)
OKLaboklab(36.36% -0.0118 -0.1231)
OKLCHoklch(36.36% 0.124 264.5)
XYZxyz(5.6576, 4.5810, 20.3207)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C387E #7E621C
analogous
#1C697E #1C387E #311C7E
triadic
#1C387E #7E1C38 #387E1C
tetradic
#1C387E #7E1C69 #7E621C #1C7E31
square
#1C387E #7E1C69 #7E621C #1C7E31
split-complementary
#1C387E #7E311C #697E1C
monochromatic
#060B1A #11224C #1C387E #274EB0 #406AD5

Accessibility & contrast

On white

10.96
#1C387E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1C387E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C387E
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C387E#FFFFFF#000000##FFFFFF
##1C387E1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024180
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1c387e;
/* rgb */ color: rgb(28, 56, 126);
/* oklch */ color: oklch(36.4% 0.124 264.5);
Tailwind
colors: {
  custom: {
    50: '#686ea4',
    500: '#1c387e',
    950: '#000000',
  },
}
SCSS
$custom: #1c387e;
$custom-light: #686ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c387e",
  "rgb": {
    "r": 28,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 222.857,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36364,
    "c": 0.12365,
    "h": 264.5
  },
  "luminance": 0.04582
}

Semantic roles & 50–950 ramp

primary
#1C387E
secondary
#B29244
accent
#B741E7
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1C387E

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

Preview Lab → · Contrast checker → · Palette generator →

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