#1C4182#1C4182

#1C4182 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.7% C 0.118 H 260.7°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#1C4182
RGBrgb(28, 65, 130)
HSLhsl(218, 65%, 31%)
HSVhsv(218, 78%, 51%)
CMYKcmyk(78.5%, 50%, 0%, 49%)
CIE-LABlab(28.48, 11.65, -40.43)
CIE-LCHlch(28.48, 42.08, 286.08°)
OKLaboklab(38.73% -0.0189 -0.1161)
OKLCHoklch(38.73% 0.118 260.7)
XYZxyz(6.3970, 5.6384, 21.8660)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4182 #825D1C
analogous
#1C7482 #1C4182 #2A1C82
triadic
#1C4182 #821C41 #41821C
tetradic
#1C4182 #821C74 #825D1C #1C822A
square
#1C4182 #821C74 #825D1C #1C822A
split-complementary
#1C4182 #822A1C #74821C
monochromatic
#060F1D #112850 #1C4182 #275AB4 #4278D6

Accessibility & contrast

On white

9.87
#1C4182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1C4182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4182
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4182#FFFFFF#000000##FFFFFF
##1C41821.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4884
Deuteranopia (green-blind)
#003F81
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1c4182;
/* rgb */ color: rgb(28, 65, 130);
/* oklch */ color: oklch(38.7% 0.118 260.7);
Tailwind
colors: {
  custom: {
    50: '#6875a7',
    500: '#1c4182',
    950: '#000000',
  },
}
SCSS
$custom: #1c4182;
$custom-light: #6875a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4182",
  "rgb": {
    "r": 28,
    "g": 65,
    "b": 130
  },
  "hsl": {
    "h": 218.235,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38726,
    "c": 0.11767,
    "h": 260.7
  },
  "luminance": 0.05639
}

Semantic roles & 50–950 ramp

primary
#1C4182
secondary
#B58C44
accent
#AB40E8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1C4182

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

Preview Lab → · Contrast checker → · Palette generator →

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