#1C4181#1C4181

#1C4181 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.6% C 0.116 H 260.5°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#1C4181
RGBrgb(28, 65, 129)
HSLhsl(218, 64%, 31%)
HSVhsv(218, 78%, 51%)
CMYKcmyk(78.3%, 49.6%, 0%, 49.4%)
CIE-LABlab(28.41, 11.25, -39.92)
CIE-LCHlch(28.41, 41.47, 285.74°)
OKLaboklab(38.65% -0.0191 -0.1146)
OKLCHoklch(38.65% 0.116 260.5)
XYZxyz(6.3302, 5.6117, 21.5142)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4181 #815C1C
analogous
#1C7381 #1C4181 #2A1C81
triadic
#1C4181 #811C41 #41811C
tetradic
#1C4181 #811C73 #815C1C #1C812A
square
#1C4181 #811C73 #815C1C #1C812A
split-complementary
#1C4181 #812A1C #73811C
monochromatic
#060E1C #11284F #1C4181 #275AB3 #4278D6

Accessibility & contrast

On white

9.89
#1C4181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1C4181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4181
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4181#FFFFFF#000000##FFFFFF
##1C41811.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4883
Deuteranopia (green-blind)
#003F80
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1c4181;
/* rgb */ color: rgb(28, 65, 129);
/* oklch */ color: oklch(38.6% 0.116 260.5);
Tailwind
colors: {
  custom: {
    50: '#6875a6',
    500: '#1c4181',
    950: '#000000',
  },
}
SCSS
$custom: #1c4181;
$custom-light: #6875a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4181",
  "rgb": {
    "r": 28,
    "g": 65,
    "b": 129
  },
  "hsl": {
    "h": 218.02,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38649,
    "c": 0.11622,
    "h": 260.5
  },
  "luminance": 0.05612
}

Semantic roles & 50–950 ramp

primary
#1C4181
secondary
#B48B44
accent
#AA40E7
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1C4181

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

Preview Lab → · Contrast checker → · Palette generator →

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