#1C399F#1C399F

#1C399F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.169 H 266.2°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#1C399F
RGBrgb(28, 57, 159)
HSLhsl(227, 70%, 37%)
HSVhsv(227, 82%, 62%)
CMYKcmyk(82.4%, 64.2%, 0%, 37.6%)
CIE-LABlab(28.58, 28.77, -58.10)
CIE-LCHlch(28.58, 64.83, 296.34°)
OKLaboklab(39.53% -0.0113 -0.1682)
OKLCHoklch(39.53% 0.169 266.2)
XYZxyz(8.1978, 5.6754, 33.4576)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C399F #9F821C
analogous
#1C7A9F #1C399F #411C9F
triadic
#1C399F #9F1C39 #399F1C
tetradic
#1C399F #9F1C7A #9F821C #1C9F41
square
#1C399F #9F1C7A #9F821C #1C9F41
split-complementary
#1C399F #9F411C #7A9F1C
monochromatic
#0A1437 #13266B #1C399F #254CD3 #5474E1

Accessibility & contrast

On white

9.84
#1C399F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1C399F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C399F
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C399F#FFFFFF#000000##FFFFFF
##1C399F1.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1c399f;
/* rgb */ color: rgb(28, 57, 159);
/* oklch */ color: oklch(39.5% 0.169 266.2);
Tailwind
colors: {
  custom: {
    50: '#706fbc',
    500: '#1c399f',
    950: '#000000',
  },
}
SCSS
$custom: #1c399f;
$custom-light: #706fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1c399f",
  "rgb": {
    "r": 28,
    "g": 57,
    "b": 159
  },
  "hsl": {
    "h": 226.718,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39532,
    "c": 0.16857,
    "h": 266.2
  },
  "luminance": 0.05676
}

Semantic roles & 50–950 ramp

primary
#1C399F
secondary
#C4AB53
accent
#C53BED
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1C399F

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

Preview Lab → · Contrast checker → · Palette generator →

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