#1C3C81#1C3C81

#1C3C81 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.5% C 0.123 H 263.1°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#1C3C81
RGBrgb(28, 60, 129)
HSLhsl(221, 64%, 31%)
HSVhsv(221, 78%, 51%)
CMYKcmyk(78.3%, 53.5%, 0%, 49.4%)
CIE-LABlab(26.91, 14.73, -42.34)
CIE-LCHlch(26.91, 44.82, 289.19°)
OKLaboklab(37.51% -0.0148 -0.1218)
OKLCHoklch(37.51% 0.123 263.1)
XYZxyz(6.0558, 5.0629, 21.4227)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3C81 #81611C
analogous
#1C6E81 #1C3C81 #2E1C81
triadic
#1C3C81 #811C3C #3C811C
tetradic
#1C3C81 #811C6E #81611C #1C812E
square
#1C3C81 #811C6E #81611C #1C812E
split-complementary
#1C3C81 #812E1C #6E811C
monochromatic
#060D1C #11254F #1C3C81 #2753B3 #4271D6

Accessibility & contrast

On white

10.43
#1C3C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1C3C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3C81
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3C81#FFFFFF#000000##FFFFFF
##1C3C811.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4483
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1c3c81;
/* rgb */ color: rgb(28, 60, 129);
/* oklch */ color: oklch(37.5% 0.123 263.1);
Tailwind
colors: {
  custom: {
    50: '#6871a6',
    500: '#1c3c81',
    950: '#000000',
  },
}
SCSS
$custom: #1c3c81;
$custom-light: #6871a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3c81",
  "rgb": {
    "r": 28,
    "g": 60,
    "b": 129
  },
  "hsl": {
    "h": 220.99,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37505,
    "c": 0.12274,
    "h": 263.1
  },
  "luminance": 0.05064
}

Semantic roles & 50–950 ramp

primary
#1C3C81
secondary
#B49144
accent
#B240E7
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1C3C81

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

Preview Lab → · Contrast checker → · Palette generator →

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