#1C4281#1C4281

#1C4281 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.9% C 0.115 H 260.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#1C4281
RGBrgb(28, 66, 129)
HSLhsl(217, 64%, 31%)
HSVhsv(217, 78%, 51%)
CMYKcmyk(78.3%, 48.8%, 0%, 49.4%)
CIE-LABlab(28.71, 10.55, -39.43)
CIE-LCHlch(28.71, 40.82, 284.99°)
OKLaboklab(38.88% -0.02 -0.1132)
OKLCHoklch(38.88% 0.115 260)
XYZxyz(6.3881, 5.7276, 21.5335)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4281 #815B1C
analogous
#1C7481 #1C4281 #291C81
triadic
#1C4281 #811C42 #42811C
tetradic
#1C4281 #811C74 #815B1C #1C8129
square
#1C4281 #811C74 #815B1C #1C8129
split-complementary
#1C4281 #81291C #74811C
monochromatic
#060F1C #11284F #1C4281 #275CB3 #4279D6

Accessibility & contrast

On white

9.79
#1C4281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1C4281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4281
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4281#FFFFFF#000000##FFFFFF
##1C42811.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204983
Deuteranopia (green-blind)
#043F80
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1c4281;
/* rgb */ color: rgb(28, 66, 129);
/* oklch */ color: oklch(38.9% 0.115 260.0);
Tailwind
colors: {
  custom: {
    50: '#6875a6',
    500: '#1c4281',
    950: '#000000',
  },
}
SCSS
$custom: #1c4281;
$custom-light: #6875a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4281",
  "rgb": {
    "r": 28,
    "g": 66,
    "b": 129
  },
  "hsl": {
    "h": 217.426,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38883,
    "c": 0.11493,
    "h": 260
  },
  "luminance": 0.05728
}

Semantic roles & 50–950 ramp

primary
#1C4281
secondary
#B48A44
accent
#A940E7
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1C4281

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

Preview Lab → · Contrast checker → · Palette generator →

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