#1C115E#1C115E

#1C115E is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.8% C 0.127 H 279.1°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#1C115E
RGBrgb(28, 17, 94)
HSLhsl(249, 69%, 22%)
HSVhsv(249, 82%, 37%)
CMYKcmyk(70.2%, 81.9%, 0%, 63.1%)
CIE-LABlab(12.32, 30.46, -43.53)
CIE-LCHlch(12.32, 53.13, 304.98°)
OKLaboklab(25.76% 0.02 -0.1257)
OKLCHoklch(25.76% 0.127 279.1)
XYZxyz(2.6991, 1.4557, 10.7262)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C115E #535E11
analogous
#112D5E #1C115E #43115E
triadic
#1C115E #5E1C11 #115E1C
tetradic
#1C115E #5E112D #535E11 #115E43
square
#1C115E #5E112D #535E11 #115E43
split-complementary
#1C115E #5E4311 #2D5E11
monochromatic
#08051A #0D082A #1C115E #2B1A92 #3B24C6

Accessibility & contrast

On white

16.26
#1C115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#1C115E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C115E
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C115E#FFFFFF#000000##FFFFFF
##1C115E1.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002360
Deuteranopia (green-blind)
#001D5D
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1c115e;
/* rgb */ color: rgb(28, 17, 94);
/* oklch */ color: oklch(25.8% 0.127 279.1);
Tailwind
colors: {
  custom: {
    50: '#63518d',
    500: '#1c115e',
    950: '#000000',
  },
}
SCSS
$custom: #1c115e;
$custom-light: #63518d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c115e",
  "rgb": {
    "r": 28,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 248.571,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.2576,
    "c": 0.1273,
    "h": 279.1
  },
  "luminance": 0.01456
}

Semantic roles & 50–950 ramp

primary
#1C115E
secondary
#899734
accent
#EC3CD3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1C115E

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

Preview Lab → · Contrast checker → · Palette generator →

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