#1C4F99#1C4F99

#1C4F99 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.7% C 0.133 H 258.3°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#1C4F99
RGBrgb(28, 79, 153)
HSLhsl(216, 69%, 35%)
HSVhsv(216, 82%, 60%)
CMYKcmyk(81.7%, 48.4%, 0%, 40%)
CIE-LABlab(34.27, 11.41, -45.22)
CIE-LCHlch(34.27, 46.64, 284.17°)
OKLaboklab(43.68% -0.0269 -0.13)
OKLCHoklch(43.68% 0.133 258.3)
XYZxyz(9.0225, 8.1377, 31.2260)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4F99 #99661C
analogous
#1C8D99 #1C4F99 #271C99
triadic
#1C4F99 #991C4F #4F991C
tetradic
#1C4F99 #991C8D #99661C #1C9927
square
#1C4F99 #991C8D #99661C #1C9927
split-complementary
#1C4F99 #99271C #8D991C
monochromatic
#091A32 #133465 #1C4F99 #256ACD #508BDF

Accessibility & contrast

On white

7.99
#1C4F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#1C4F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4F99
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4F99#FFFFFF#000000##FFFFFF
##1C4F991.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25579C
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1c4f99;
/* rgb */ color: rgb(28, 79, 153);
/* oklch */ color: oklch(43.7% 0.133 258.3);
Tailwind
colors: {
  custom: {
    50: '#6d7fb7',
    500: '#1c4f99',
    950: '#000000',
  },
}
SCSS
$custom: #1c4f99;
$custom-light: #6d7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4f99",
  "rgb": {
    "r": 28,
    "g": 79,
    "b": 153
  },
  "hsl": {
    "h": 215.52,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43683,
    "c": 0.13271,
    "h": 258.3
  },
  "luminance": 0.08139
}

Semantic roles & 50–950 ramp

primary
#1C4F99
secondary
#C2934F
accent
#A43CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1C4F99

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

Preview Lab → · Contrast checker → · Palette generator →

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