#1C155D#1C155D

#1C155D is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.3% C 0.121 H 278.3°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#1C155D
RGBrgb(28, 21, 93)
HSLhsl(246, 63%, 22%)
HSVhsv(246, 77%, 36%)
CMYKcmyk(69.9%, 77.4%, 0%, 63.5%)
CIE-LABlab(13.07, 27.69, -41.64)
CIE-LCHlch(13.07, 50.01, 303.62°)
OKLaboklab(26.25% 0.0175 -0.1202)
OKLCHoklch(26.25% 0.121 278.3)
XYZxyz(2.7222, 1.5733, 10.5140)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C155D #565D15
analogous
#15325D #1C155D #40155D
triadic
#1C155D #5D1C15 #155D1C
tetradic
#1C155D #5D1532 #565D15 #155D40
square
#1C155D #5D1532 #565D15 #155D40
split-complementary
#1C155D #5D4015 #325D15
monochromatic
#080619 #0D0A2B #1C155D #2B208F #3A2CC1

Accessibility & contrast

On white

15.97
#1C155D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C155D
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C155D#FFFFFF#000000##FFFFFF
##1C155D1.0015.971.3115.97
#FFFFFF15.971.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255F
Deuteranopia (green-blind)
#001F5C
Tritanopia (blue-blind)
#002937
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1c155d;
/* rgb */ color: rgb(28, 21, 93);
/* oklch */ color: oklch(26.3% 0.121 278.3);
Tailwind
colors: {
  custom: {
    50: '#62538c',
    500: '#1c155d',
    950: '#000000',
  },
}
SCSS
$custom: #1c155d;
$custom-light: #62538c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c155d",
  "rgb": {
    "r": 28,
    "g": 21,
    "b": 93
  },
  "hsl": {
    "h": 245.833,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26251,
    "c": 0.12149,
    "h": 278.3
  },
  "luminance": 0.01574
}

Semantic roles & 50–950 ramp

primary
#1C155D
secondary
#8C9439
accent
#E642D6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1C155D

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

Preview Lab → · Contrast checker → · Palette generator →

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