#1C4F98#1C4F98

#1C4F98 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.6% C 0.131 H 258.1°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#1C4F98
RGBrgb(28, 79, 152)
HSLhsl(215, 69%, 35%)
HSVhsv(215, 82%, 60%)
CMYKcmyk(81.6%, 48%, 0%, 40.4%)
CIE-LABlab(34.20, 11.01, -44.73)
CIE-LCHlch(34.20, 46.06, 283.83°)
OKLaboklab(43.61% -0.027 -0.1285)
OKLCHoklch(43.61% 0.131 258.1)
XYZxyz(8.9403, 8.1048, 30.7929)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4F98 #98651C
analogous
#1C8D98 #1C4F98 #271C98
triadic
#1C4F98 #981C4F #4F981C
tetradic
#1C4F98 #981C8D #98651C #1C9827
square
#1C4F98 #981C8D #98651C #1C9827
split-complementary
#1C4F98 #98271C #8D981C
monochromatic
#091931 #123464 #1C4F98 #266ACC #508BDF

Accessibility & contrast

On white

8.01
#1C4F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#1C4F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4F98
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4F98#FFFFFF#000000##FFFFFF
##1C4F981.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26569B
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1c4f98;
/* rgb */ color: rgb(28, 79, 152);
/* oklch */ color: oklch(43.6% 0.131 258.1);
Tailwind
colors: {
  custom: {
    50: '#6d7fb7',
    500: '#1c4f98',
    950: '#000000',
  },
}
SCSS
$custom: #1c4f98;
$custom-light: #6d7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4f98",
  "rgb": {
    "r": 28,
    "g": 79,
    "b": 152
  },
  "hsl": {
    "h": 215.323,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43609,
    "c": 0.13131,
    "h": 258.1
  },
  "luminance": 0.08106
}

Semantic roles & 50–950 ramp

primary
#1C4F98
secondary
#C1924E
accent
#A33CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1C4F98

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

Preview Lab → · Contrast checker → · Palette generator →

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