#1C135E#1C135E

#1C135E is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.1% C 0.125 H 278.6°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#1C135E
RGBrgb(28, 19, 94)
HSLhsl(247, 66%, 22%)
HSVhsv(247, 80%, 37%)
CMYKcmyk(70.2%, 79.8%, 0%, 63.1%)
CIE-LABlab(12.74, 29.28, -42.85)
CIE-LCHlch(12.74, 51.90, 304.35°)
OKLaboklab(26.05% 0.0187 -0.1237)
OKLCHoklch(26.05% 0.125 278.6)
XYZxyz(2.7315, 1.5205, 10.7371)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C135E #555E13
analogous
#13305E #1C135E #42135E
triadic
#1C135E #5E1C13 #135E1C
tetradic
#1C135E #5E1330 #555E13 #135E42
square
#1C135E #5E1330 #555E13 #135E42
split-complementary
#1C135E #5E4213 #305E13
monochromatic
#080519 #0D092B #1C135E #2B1D91 #3A28C4

Accessibility & contrast

On white

16.10
#1C135E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#1C135E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C135E
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C135E#FFFFFF#000000##FFFFFF
##1C135E1.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002460
Deuteranopia (green-blind)
#001E5D
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1c135e;
/* rgb */ color: rgb(28, 19, 94);
/* oklch */ color: oklch(26.1% 0.125 278.6);
Tailwind
colors: {
  custom: {
    50: '#63528d',
    500: '#1c135e',
    950: '#000000',
  },
}
SCSS
$custom: #1c135e;
$custom-light: #63528d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c135e",
  "rgb": {
    "r": 28,
    "g": 19,
    "b": 94
  },
  "hsl": {
    "h": 247.2,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26052,
    "c": 0.12515,
    "h": 278.6
  },
  "luminance": 0.01521
}

Semantic roles & 50–950 ramp

primary
#1C135E
secondary
#8B9637
accent
#E93FD5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1C135E

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

Preview Lab → · Contrast checker → · Palette generator →

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