#1C4BA1#1C4BA1

#1C4BA1 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.4% C 0.149 H 261.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#1C4BA1
RGBrgb(28, 75, 161)
HSLhsl(219, 70%, 37%)
HSVhsv(219, 83%, 63%)
CMYKcmyk(82.6%, 53.4%, 0%, 36.9%)
CIE-LABlab(33.67, 17.34, -51.01)
CIE-LCHlch(33.67, 53.88, 288.77°)
OKLaboklab(43.41% -0.0227 -0.1471)
OKLCHoklch(43.41% 0.149 261.2)
XYZxyz(9.4257, 7.8511, 34.7299)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4BA1 #A1721C
analogous
#1C8EA1 #1C4BA1 #301CA1
triadic
#1C4BA1 #A11C4B #4BA11C
tetradic
#1C4BA1 #A11C8E #A1721C #1CA130
square
#1C4BA1 #A11C8E #A1721C #1CA130
split-complementary
#1C4BA1 #A1301C #8EA11C
monochromatic
#0A1A39 #13336D #1C4BA1 #2563D5 #5687E2

Accessibility & contrast

On white

8.17
#1C4BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#1C4BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4BA1
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4BA1#FFFFFF#000000##FFFFFF
##1C4BA11.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0956A4
Deuteranopia (green-blind)
#00499F
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1c4ba1;
/* rgb */ color: rgb(28, 75, 161);
/* oklch */ color: oklch(43.4% 0.149 261.2);
Tailwind
colors: {
  custom: {
    50: '#707cbd',
    500: '#1c4ba1',
    950: '#000000',
  },
}
SCSS
$custom: #1c4ba1;
$custom-light: #707cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4ba1",
  "rgb": {
    "r": 28,
    "g": 75,
    "b": 161
  },
  "hsl": {
    "h": 218.797,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43407,
    "c": 0.14882,
    "h": 261.2
  },
  "luminance": 0.07852
}

Semantic roles & 50–950 ramp

primary
#1C4BA1
secondary
#C59D54
accent
#AE3BED
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1C4BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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