#1C135F#1C135F

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

Color values

HEX#1C135F
RGBrgb(28, 19, 95)
HSLhsl(247, 67%, 22%)
HSVhsv(247, 80%, 37%)
CMYKcmyk(70.5%, 80%, 0%, 62.7%)
CIE-LABlab(12.85, 29.63, -43.33)
CIE-LCHlch(12.85, 52.50, 304.37°)
OKLaboklab(26.17% 0.0185 -0.1251)
OKLCHoklch(26.17% 0.127 278.4)
XYZxyz(2.7767, 1.5386, 10.9749)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C135F #565F13
analogous
#13305F #1C135F #42135F
triadic
#1C135F #5F1C13 #135F1C
tetradic
#1C135F #5F1330 #565F13 #135F42
square
#1C135F #5F1330 #565F13 #135F42
split-complementary
#1C135F #5F4213 #305F13
monochromatic
#08051A #0D092C #1C135F #2B1D92 #3A27C5

Accessibility & contrast

On white

16.06
#1C135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1C135F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C135F
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C135F#FFFFFF#000000##FFFFFF
##1C135F1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002461
Deuteranopia (green-blind)
#001E5E
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1c135f;
/* rgb */ color: rgb(28, 19, 95);
/* oklch */ color: oklch(26.2% 0.127 278.4);
Tailwind
colors: {
  custom: {
    50: '#63528d',
    500: '#1c135f',
    950: '#000000',
  },
}
SCSS
$custom: #1c135f;
$custom-light: #63528d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c135f",
  "rgb": {
    "r": 28,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 247.105,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26165,
    "c": 0.12651,
    "h": 278.4
  },
  "luminance": 0.01539
}

Semantic roles & 50–950 ramp

primary
#1C135F
secondary
#8C9737
accent
#EA3ED5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1C135F

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

Preview Lab → · Contrast checker → · Palette generator →

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