#1C117F#1C117F

#1C117F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.169 H 273.5°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#1C117F
RGBrgb(28, 17, 127)
HSLhsl(246, 76%, 28%)
HSVhsv(246, 87%, 50%)
CMYKcmyk(78%, 86.6%, 0%, 50.2%)
CIE-LABlab(16.40, 41.33, -58.31)
CIE-LCHlch(16.40, 71.47, 305.33°)
OKLaboklab(29.78% 0.0103 -0.1686)
OKLCHoklch(29.78% 0.169 273.5)
XYZxyz(4.5088, 2.1796, 20.2576)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C117F #747F11
analogous
#113D7F #1C117F #53117F
triadic
#1C117F #7F1C11 #117F1C
tetradic
#1C117F #7F113D #747F11 #117F53
square
#1C117F #7F113D #747F11 #117F53
split-complementary
#1C117F #7F5311 #3D7F11
monochromatic
#06041B #100A49 #1C117F #2818B5 #3B28E2

Accessibility & contrast

On white

14.62
#1C117F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1C117F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C117F
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C117F#FFFFFF#000000##FFFFFF
##1C117F1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00237D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1c117f;
/* rgb */ color: rgb(28, 17, 127);
/* oklch */ color: oklch(29.8% 0.169 273.5);
Tailwind
colors: {
  custom: {
    50: '#6c54a5',
    500: '#1c117f',
    950: '#000000',
  },
}
SCSS
$custom: #1c117f;
$custom-light: #6c54a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c117f",
  "rgb": {
    "r": 28,
    "g": 17,
    "b": 127
  },
  "hsl": {
    "h": 246,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29779,
    "c": 0.16893,
    "h": 273.5
  },
  "luminance": 0.0218
}

Semantic roles & 50–950 ramp

primary
#1C117F
secondary
#A8B537
accent
#F335E0
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1C117F

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

Preview Lab → · Contrast checker → · Palette generator →

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