#1C4A98#1C4A98

#1C4A98 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.138 H 260.3°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#1C4A98
RGBrgb(28, 74, 152)
HSLhsl(218, 69%, 35%)
HSVhsv(218, 82%, 60%)
CMYKcmyk(81.6%, 51.3%, 0%, 40.4%)
CIE-LABlab(32.72, 14.39, -47.11)
CIE-LCHlch(32.72, 49.26, 286.99°)
OKLaboklab(42.48% -0.0231 -0.1356)
OKLCHoklch(42.48% 0.138 260.3)
XYZxyz(8.5931, 7.4104, 30.6771)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4A98 #986A1C
analogous
#1C8898 #1C4A98 #2C1C98
triadic
#1C4A98 #981C4A #4A981C
tetradic
#1C4A98 #981C88 #986A1C #1C982C
square
#1C4A98 #981C88 #986A1C #1C982C
split-complementary
#1C4A98 #982C1C #88981C
monochromatic
#091831 #123164 #1C4A98 #2663CC #5085DF

Accessibility & contrast

On white

8.46
#1C4A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1C4A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4A98
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4A98#FFFFFF#000000##FFFFFF
##1C4A981.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19539B
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1c4a98;
/* rgb */ color: rgb(28, 74, 152);
/* oklch */ color: oklch(42.5% 0.138 260.3);
Tailwind
colors: {
  custom: {
    50: '#6d7bb7',
    500: '#1c4a98',
    950: '#000000',
  },
}
SCSS
$custom: #1c4a98;
$custom-light: #6d7bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4a98",
  "rgb": {
    "r": 28,
    "g": 74,
    "b": 152
  },
  "hsl": {
    "h": 217.742,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42475,
    "c": 0.13756,
    "h": 260.3
  },
  "luminance": 0.07411
}

Semantic roles & 50–950 ramp

primary
#1C4A98
secondary
#C1974E
accent
#AB3CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1C4A98

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

Preview Lab → · Contrast checker → · Palette generator →

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