#1C3F7D#1C3F7D

#1C3F7D is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.113 H 260.8°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#1C3F7D
RGBrgb(28, 63, 125)
HSLhsl(218, 63%, 30%)
HSVhsv(218, 78%, 49%)
CMYKcmyk(77.6%, 49.6%, 0%, 51%)
CIE-LABlab(27.52, 11.01, -38.85)
CIE-LCHlch(27.52, 40.37, 285.82°)
OKLaboklab(37.88% -0.018 -0.1115)
OKLCHoklch(37.88% 0.113 260.8)
XYZxyz(5.9567, 5.2819, 20.1036)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3F7D #7D5A1C
analogous
#1C6F7D #1C3F7D #2A1C7D
triadic
#1C3F7D #7D1C3F #3F7D1C
tetradic
#1C3F7D #7D1C6F #7D5A1C #1C7D2A
square
#1C3F7D #7D1C6F #7D5A1C #1C7D2A
split-complementary
#1C3F7D #7D2A1C #6F7D1C
monochromatic
#060D19 #11264B #1C3F7D #2758AF #3F75D4

Accessibility & contrast

On white

10.21
#1C3F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C3F7D
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3F7D#FFFFFF#000000##FFFFFF
##1C3F7D1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D467F
Deuteranopia (green-blind)
#013D7C
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1c3f7d;
/* rgb */ color: rgb(28, 63, 125);
/* oklch */ color: oklch(37.9% 0.113 260.8);
Tailwind
colors: {
  custom: {
    50: '#6773a3',
    500: '#1c3f7d',
    950: '#000000',
  },
}
SCSS
$custom: #1c3f7d;
$custom-light: #6773a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3f7d",
  "rgb": {
    "r": 28,
    "g": 63,
    "b": 125
  },
  "hsl": {
    "h": 218.351,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.37878,
    "c": 0.11296,
    "h": 260.8
  },
  "luminance": 0.05283
}

Semantic roles & 50–950 ramp

primary
#1C3F7D
secondary
#B18A44
accent
#AB41E6
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1C3F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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