#1C3F7E#1C3F7E

#1C3F7E is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.0% C 0.114 H 261.0°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#1C3F7E
RGBrgb(28, 63, 126)
HSLhsl(219, 64%, 30%)
HSVhsv(219, 78%, 49%)
CMYKcmyk(77.8%, 50%, 0%, 50.6%)
CIE-LABlab(27.59, 11.41, -39.36)
CIE-LCHlch(27.59, 40.98, 286.17°)
OKLaboklab(37.96% -0.0178 -0.113)
OKLCHoklch(37.96% 0.114 261)
XYZxyz(6.0209, 5.3076, 20.4418)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3F7E #7E5B1C
analogous
#1C707E #1C3F7E #2A1C7E
triadic
#1C3F7E #7E1C3F #3F7E1C
tetradic
#1C3F7E #7E1C70 #7E5B1C #1C7E2A
square
#1C3F7E #7E1C70 #7E5B1C #1C7E2A
split-complementary
#1C3F7E #7E2A1C #707E1C
monochromatic
#060D1A #11264C #1C3F7E #2758B0 #4075D5

Accessibility & contrast

On white

10.19
#1C3F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#1C3F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3F7E
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3F7E#FFFFFF#000000##FFFFFF
##1C3F7E1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4680
Deuteranopia (green-blind)
#003D7D
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1c3f7e;
/* rgb */ color: rgb(28, 63, 126);
/* oklch */ color: oklch(38.0% 0.114 261.0);
Tailwind
colors: {
  custom: {
    50: '#6773a4',
    500: '#1c3f7e',
    950: '#000000',
  },
}
SCSS
$custom: #1c3f7e;
$custom-light: #6773a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3f7e",
  "rgb": {
    "r": 28,
    "g": 63,
    "b": 126
  },
  "hsl": {
    "h": 218.571,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37955,
    "c": 0.11442,
    "h": 261
  },
  "luminance": 0.05308
}

Semantic roles & 50–950 ramp

primary
#1C3F7E
secondary
#B28B44
accent
#AC41E7
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1C3F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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