#1C3A9F#1C3A9F

#1C3A9F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.167 H 265.9°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#1C3A9F
RGBrgb(28, 58, 159)
HSLhsl(226, 70%, 37%)
HSVhsv(226, 82%, 62%)
CMYKcmyk(82.4%, 63.5%, 0%, 37.6%)
CIE-LABlab(28.84, 28.09, -57.68)
CIE-LCHlch(28.84, 64.15, 295.97°)
OKLaboklab(39.73% -0.0119 -0.1669)
OKLCHoklch(39.73% 0.167 265.9)
XYZxyz(8.2478, 5.7752, 33.4742)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3A9F #9F811C
analogous
#1C7B9F #1C3A9F #401C9F
triadic
#1C3A9F #9F1C3A #3A9F1C
tetradic
#1C3A9F #9F1C7B #9F811C #1C9F40
square
#1C3A9F #9F1C7B #9F811C #1C9F40
split-complementary
#1C3A9F #9F401C #7B9F1C
monochromatic
#0A1437 #13276B #1C3A9F #254DD3 #5475E1

Accessibility & contrast

On white

9.74
#1C3A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1C3A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3A9F
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3A9F#FFFFFF#000000##FFFFFF
##1C3A9F1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1c3a9f;
/* rgb */ color: rgb(28, 58, 159);
/* oklch */ color: oklch(39.7% 0.167 265.9);
Tailwind
colors: {
  custom: {
    50: '#706fbc',
    500: '#1c3a9f',
    950: '#000000',
  },
}
SCSS
$custom: #1c3a9f;
$custom-light: #706fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3a9f",
  "rgb": {
    "r": 28,
    "g": 58,
    "b": 159
  },
  "hsl": {
    "h": 226.26,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39725,
    "c": 0.16735,
    "h": 265.9
  },
  "luminance": 0.05776
}

Semantic roles & 50–950 ramp

primary
#1C3A9F
secondary
#C4AA53
accent
#C43BED
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1C3A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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