#1C4E94#1C4E94

#1C4E94 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.1% C 0.127 H 257.8°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#1C4E94
RGBrgb(28, 78, 148)
HSLhsl(215, 68%, 35%)
HSVhsv(215, 81%, 58%)
CMYKcmyk(81.1%, 47.3%, 0%, 42%)
CIE-LABlab(33.63, 10.07, -43.21)
CIE-LCHlch(33.63, 44.37, 283.12°)
OKLaboklab(43.09% -0.0269 -0.1241)
OKLCHoklch(43.09% 0.127 257.8)
XYZxyz(8.5466, 7.8328, 29.0727)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4E94 #94621C
analogous
#1C8A94 #1C4E94 #261C94
triadic
#1C4E94 #941C4E #4E941C
tetradic
#1C4E94 #941C8A #94621C #1C9426
square
#1C4E94 #941C8A #94621C #1C9426
split-complementary
#1C4E94 #94261C #8A941C
monochromatic
#09182D #123361 #1C4E94 #2669C7 #4D89DD

Accessibility & contrast

On white

8.18
#1C4E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C4E94
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4E94#FFFFFF#000000##FFFFFF
##1C4E941.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285597
Deuteranopia (green-blind)
#084A93
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1c4e94;
/* rgb */ color: rgb(28, 78, 148);
/* oklch */ color: oklch(43.1% 0.127 257.8);
Tailwind
colors: {
  custom: {
    50: '#6c7fb4',
    500: '#1c4e94',
    950: '#000000',
  },
}
SCSS
$custom: #1c4e94;
$custom-light: #6c7fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4e94",
  "rgb": {
    "r": 28,
    "g": 78,
    "b": 148
  },
  "hsl": {
    "h": 215,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43085,
    "c": 0.12696,
    "h": 257.8
  },
  "luminance": 0.07834
}

Semantic roles & 50–950 ramp

primary
#1C4E94
secondary
#C0904C
accent
#A23DEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1C4E94

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

Preview Lab → · Contrast checker → · Palette generator →

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