#1C509F#1C509F

#1C509F is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.4% C 0.140 H 259.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#1C509F
RGBrgb(28, 80, 159)
HSLhsl(216, 70%, 37%)
HSVhsv(216, 82%, 62%)
CMYKcmyk(82.4%, 49.7%, 0%, 37.6%)
CIE-LABlab(34.98, 13.16, -47.70)
CIE-LCHlch(34.98, 49.48, 285.42°)
OKLaboklab(44.36% -0.0267 -0.1372)
OKLCHoklch(44.36% 0.14 259)
XYZxyz(9.6033, 8.4862, 33.9260)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C509F #9F6B1C
analogous
#1C929F #1C509F #2A1C9F
triadic
#1C509F #9F1C50 #509F1C
tetradic
#1C509F #9F1C92 #9F6B1C #1C9F2A
square
#1C509F #9F1C92 #9F6B1C #1C9F2A
split-complementary
#1C509F #9F2A1C #929F1C
monochromatic
#0A1C37 #13366B #1C509F #256AD3 #548CE1

Accessibility & contrast

On white

7.79
#1C509F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#1C509F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C509F
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C509F#FFFFFF#000000##FFFFFF
##1C509F1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2159A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1c509f;
/* rgb */ color: rgb(28, 80, 159);
/* oklch */ color: oklch(44.4% 0.140 259.0);
Tailwind
colors: {
  custom: {
    50: '#6f80bc',
    500: '#1c509f',
    950: '#000000',
  },
}
SCSS
$custom: #1c509f;
$custom-light: #6f80bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1c509f",
  "rgb": {
    "r": 28,
    "g": 80,
    "b": 159
  },
  "hsl": {
    "h": 216.183,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44359,
    "c": 0.1398,
    "h": 259
  },
  "luminance": 0.08487
}

Semantic roles & 50–950 ramp

primary
#1C509F
secondary
#C49753
accent
#A63BED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1C509F

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

Preview Lab → · Contrast checker → · Palette generator →

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