#1C3D7F#1C3D7F

#1C3D7F is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.6% C 0.119 H 262.3°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#1C3D7F
RGBrgb(28, 61, 127)
HSLhsl(220, 64%, 30%)
HSVhsv(220, 78%, 50%)
CMYKcmyk(78%, 52%, 0%, 50.2%)
CIE-LABlab(27.06, 13.22, -40.84)
CIE-LCHlch(27.06, 42.93, 287.93°)
OKLaboklab(37.57% -0.0159 -0.1174)
OKLCHoklch(37.57% 0.119 262.3)
XYZxyz(5.9770, 5.1160, 20.7470)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3D7F #7F5E1C
analogous
#1C6E7F #1C3D7F #2C1C7F
triadic
#1C3D7F #7F1C3D #3D7F1C
tetradic
#1C3D7F #7F1C6E #7F5E1C #1C7F2C
square
#1C3D7F #7F1C6E #7F5E1C #1C7F2C
split-complementary
#1C3D7F #7F2C1C #6E7F1C
monochromatic
#060D1B #11254D #1C3D7F #2755B1 #4072D5

Accessibility & contrast

On white

10.38
#1C3D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#1C3D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3D7F
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3D7F#FFFFFF#000000##FFFFFF
##1C3D7F1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154581
Deuteranopia (green-blind)
#003C7E
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1c3d7f;
/* rgb */ color: rgb(28, 61, 127);
/* oklch */ color: oklch(37.6% 0.119 262.3);
Tailwind
colors: {
  custom: {
    50: '#6871a5',
    500: '#1c3d7f',
    950: '#000000',
  },
}
SCSS
$custom: #1c3d7f;
$custom-light: #6871a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3d7f",
  "rgb": {
    "r": 28,
    "g": 61,
    "b": 127
  },
  "hsl": {
    "h": 220,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37572,
    "c": 0.11851,
    "h": 262.3
  },
  "luminance": 0.05117
}

Semantic roles & 50–950 ramp

primary
#1C3D7F
secondary
#B38E44
accent
#B041E7
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1C3D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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