#1C4291#1C4291

#1C4291 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.1% C 0.138 H 262.6°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#1C4291
RGBrgb(28, 66, 145)
HSLhsl(221, 68%, 34%)
HSVhsv(221, 81%, 57%)
CMYKcmyk(80.7%, 54.5%, 0%, 43.1%)
CIE-LABlab(29.88, 17.05, -47.44)
CIE-LCHlch(29.88, 50.41, 289.77°)
OKLaboklab(40.14% -0.0178 -0.1368)
OKLCHoklch(40.14% 0.138 262.6)
XYZxyz(7.5361, 6.1868, 27.5796)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4291 #916B1C
analogous
#1C7D91 #1C4291 #311C91
triadic
#1C4291 #911C42 #42911C
tetradic
#1C4291 #911C7D #916B1C #1C9131
square
#1C4291 #911C7D #916B1C #1C9131
split-complementary
#1C4291 #91311C #7D911C
monochromatic
#08132A #122B5E #1C4291 #2659C4 #4B7ADC

Accessibility & contrast

On white

9.39
#1C4291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1C4291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4291
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4291#FFFFFF#000000##FFFFFF
##1C42911.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044C94
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1c4291;
/* rgb */ color: rgb(28, 66, 145);
/* oklch */ color: oklch(40.1% 0.138 262.6);
Tailwind
colors: {
  custom: {
    50: '#6c75b2',
    500: '#1c4291',
    950: '#000000',
  },
}
SCSS
$custom: #1c4291;
$custom-light: #6c75b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4291",
  "rgb": {
    "r": 28,
    "g": 66,
    "b": 145
  },
  "hsl": {
    "h": 220.513,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40143,
    "c": 0.13791,
    "h": 262.6
  },
  "luminance": 0.06188
}

Semantic roles & 50–950 ramp

primary
#1C4291
secondary
#BE994A
accent
#B23DEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1C4291

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

Preview Lab → · Contrast checker → · Palette generator →

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