#1C3D84#1C3D84

#1C3D84 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.0% C 0.126 H 263.0°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#1C3D84
RGBrgb(28, 61, 132)
HSLhsl(221, 65%, 31%)
HSVhsv(221, 79%, 52%)
CMYKcmyk(78.8%, 53.8%, 0%, 48.2%)
CIE-LABlab(27.43, 15.25, -43.37)
CIE-LCHlch(27.43, 45.97, 289.38°)
OKLaboklab(37.97% -0.0153 -0.1249)
OKLCHoklch(37.97% 0.126 263)
XYZxyz(6.3110, 5.2496, 22.5060)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3D84 #84631C
analogous
#1C7184 #1C3D84 #2F1C84
triadic
#1C3D84 #841C3D #3D841C
tetradic
#1C3D84 #841C71 #84631C #1C842F
square
#1C3D84 #841C71 #84631C #1C842F
split-complementary
#1C3D84 #842F1C #71841C
monochromatic
#070E1F #112652 #1C3D84 #2754B6 #4372D7

Accessibility & contrast

On white

10.24
#1C3D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#1C3D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3D84
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3D84#FFFFFF#000000##FFFFFF
##1C3D841.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4687
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1c3d84;
/* rgb */ color: rgb(28, 61, 132);
/* oklch */ color: oklch(38.0% 0.126 263.0);
Tailwind
colors: {
  custom: {
    50: '#6971a8',
    500: '#1c3d84',
    950: '#000000',
  },
}
SCSS
$custom: #1c3d84;
$custom-light: #6971a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3d84",
  "rgb": {
    "r": 28,
    "g": 61,
    "b": 132
  },
  "hsl": {
    "h": 220.962,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37973,
    "c": 0.12579,
    "h": 263
  },
  "luminance": 0.0525
}

Semantic roles & 50–950 ramp

primary
#1C3D84
secondary
#B79345
accent
#B340E8
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1C3D84

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

Preview Lab → · Contrast checker → · Palette generator →

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