#1C387B#1C387B

#1C387B is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.1% C 0.119 H 264.2°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#1C387B
RGBrgb(28, 56, 123)
HSLhsl(222, 63%, 30%)
HSVhsv(222, 77%, 48%)
CMYKcmyk(77.2%, 54.5%, 0%, 51.8%)
CIE-LABlab(25.27, 15.10, -41.22)
CIE-LCHlch(25.27, 43.90, 290.12°)
OKLaboklab(36.12% -0.0121 -0.1186)
OKLCHoklch(36.12% 0.119 264.2)
XYZxyz(5.4669, 4.5047, 19.3164)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C387B #7B5F1C
analogous
#1C687B #1C387B #301C7B
triadic
#1C387B #7B1C38 #387B1C
tetradic
#1C387B #7B1C68 #7B5F1C #1C7B30
square
#1C387B #7B1C68 #7B5F1C #1C7B30
split-complementary
#1C387B #7B301C #687B1C
monochromatic
#060B19 #112149 #1C387B #274FAD #3E6AD3

Accessibility & contrast

On white

11.05
#1C387B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1C387B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C387B
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C387B#FFFFFF#000000##FFFFFF
##1C387B1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09417D
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1c387b;
/* rgb */ color: rgb(28, 56, 123);
/* oklch */ color: oklch(36.1% 0.119 264.2);
Tailwind
colors: {
  custom: {
    50: '#676ea2',
    500: '#1c387b',
    950: '#000000',
  },
}
SCSS
$custom: #1c387b;
$custom-light: #676ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c387b",
  "rgb": {
    "r": 28,
    "g": 56,
    "b": 123
  },
  "hsl": {
    "h": 222.316,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36115,
    "c": 0.11925,
    "h": 264.2
  },
  "luminance": 0.04505
}

Semantic roles & 50–950 ramp

primary
#1C387B
secondary
#AF8F44
accent
#B642E6
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1C387B

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

Preview Lab → · Contrast checker → · Palette generator →

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