#1C3A87#1C3A87

#1C3A87 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.134 H 264.6°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#1C3A87
RGBrgb(28, 58, 135)
HSLhsl(223, 66%, 32%)
HSVhsv(223, 79%, 53%)
CMYKcmyk(79.3%, 57%, 0%, 47.1%)
CIE-LABlab(26.80, 18.56, -46.27)
CIE-LCHlch(26.80, 49.85, 291.86°)
OKLaboklab(37.56% -0.0126 -0.1335)
OKLCHoklch(37.56% 0.134 264.6)
XYZxyz(6.3636, 5.0215, 23.5508)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3A87 #87691C
analogous
#1C6F87 #1C3A87 #341C87
triadic
#1C3A87 #871C3A #3A871C
tetradic
#1C3A87 #871C6F #87691C #1C8734
square
#1C3A87 #871C6F #87691C #1C8734
split-complementary
#1C3A87 #87341C #6F871C
monochromatic
#070E22 #112454 #1C3A87 #2750BA #456ED8

Accessibility & contrast

On white

10.48
#1C3A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1C3A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3A87
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3A87#FFFFFF#000000##FFFFFF
##1C3A871.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1c3a87;
/* rgb */ color: rgb(28, 58, 135);
/* oklch */ color: oklch(37.6% 0.134 264.6);
Tailwind
colors: {
  custom: {
    50: '#6a6fab',
    500: '#1c3a87',
    950: '#000000',
  },
}
SCSS
$custom: #1c3a87;
$custom-light: #6a6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3a87",
  "rgb": {
    "r": 28,
    "g": 58,
    "b": 135
  },
  "hsl": {
    "h": 223.178,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37563,
    "c": 0.13405,
    "h": 264.6
  },
  "luminance": 0.05022
}

Semantic roles & 50–950 ramp

primary
#1C3A87
secondary
#BA9945
accent
#B93FE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1C3A87

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

Preview Lab → · Contrast checker → · Palette generator →

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