#1C4E95#1C4E95

#1C4E95 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.2% C 0.128 H 258.0°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#1C4E95
RGBrgb(28, 78, 149)
HSLhsl(215, 68%, 35%)
HSVhsv(215, 81%, 58%)
CMYKcmyk(81.2%, 47.7%, 0%, 41.6%)
CIE-LABlab(33.70, 10.47, -43.71)
CIE-LCHlch(33.70, 44.95, 283.48°)
OKLaboklab(43.16% -0.0267 -0.1255)
OKLCHoklch(43.16% 0.128 258)
XYZxyz(8.6261, 7.8646, 29.4913)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4E95 #95631C
analogous
#1C8A95 #1C4E95 #271C95
triadic
#1C4E95 #951C4E #4E951C
tetradic
#1C4E95 #951C8A #95631C #1C9527
square
#1C4E95 #951C8A #95631C #1C9527
split-complementary
#1C4E95 #95271C #8A951C
monochromatic
#09182E #123361 #1C4E95 #2669C9 #4E89DE

Accessibility & contrast

On white

8.16
#1C4E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C4E95
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4E95#FFFFFF#000000##FFFFFF
##1C4E951.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275598
Deuteranopia (green-blind)
#044A94
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1c4e95;
/* rgb */ color: rgb(28, 78, 149);
/* oklch */ color: oklch(43.2% 0.128 258.0);
Tailwind
colors: {
  custom: {
    50: '#6c7fb5',
    500: '#1c4e95',
    950: '#000000',
  },
}
SCSS
$custom: #1c4e95;
$custom-light: #6c7fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4e95",
  "rgb": {
    "r": 28,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 215.207,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43158,
    "c": 0.12836,
    "h": 258
  },
  "luminance": 0.07866
}

Semantic roles & 50–950 ramp

primary
#1C4E95
secondary
#C0904D
accent
#A33DEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1C4E95

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

Preview Lab → · Contrast checker → · Palette generator →

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