#1C4BA6#1C4BA6

#1C4BA6 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.156 H 261.8°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#1C4BA6
RGBrgb(28, 75, 166)
HSLhsl(220, 71%, 38%)
HSVhsv(220, 83%, 65%)
CMYKcmyk(83.1%, 54.8%, 0%, 34.9%)
CIE-LABlab(34.05, 19.34, -53.40)
CIE-LCHlch(34.05, 56.79, 289.91°)
OKLaboklab(43.81% -0.0221 -0.1541)
OKLCHoklch(43.81% 0.156 261.8)
XYZxyz(9.8754, 8.0310, 37.0987)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4BA6 #A6771C
analogous
#1C90A6 #1C4BA6 #321CA6
triadic
#1C4BA6 #A61C4B #4BA61C
tetradic
#1C4BA6 #A61C90 #A6771C #1CA632
square
#1C4BA6 #A61C90 #A6771C #1CA632
split-complementary
#1C4BA6 #A6321C #90A61C
monochromatic
#0A1C3D #133372 #1C4BA6 #2563DA #5988E3

Accessibility & contrast

On white

8.06
#1C4BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#1C4BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4BA6
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4BA6#FFFFFF#000000##FFFFFF
##1C4BA61.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1c4ba6;
/* rgb */ color: rgb(28, 75, 166);
/* oklch */ color: oklch(43.8% 0.156 261.8);
Tailwind
colors: {
  custom: {
    50: '#717cc1',
    500: '#1c4ba6',
    950: '#000000',
  },
}
SCSS
$custom: #1c4ba6;
$custom-light: #717cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4ba6",
  "rgb": {
    "r": 28,
    "g": 75,
    "b": 166
  },
  "hsl": {
    "h": 219.565,
    "s": 71.134,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43812,
    "c": 0.15568,
    "h": 261.8
  },
  "luminance": 0.08032
}

Semantic roles & 50–950 ramp

primary
#1C4BA6
secondary
#C7A157
accent
#B13AEE
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1C4BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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