#1C155F#1C155F

#1C155F is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.5% C 0.124 H 277.9°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#1C155F
RGBrgb(28, 21, 95)
HSLhsl(246, 64%, 23%)
HSVhsv(246, 78%, 37%)
CMYKcmyk(70.5%, 77.9%, 0%, 62.7%)
CIE-LABlab(13.29, 28.41, -42.62)
CIE-LCHlch(13.29, 51.22, 303.69°)
OKLaboklab(26.47% 0.0171 -0.1231)
OKLCHoklch(26.47% 0.124 277.9)
XYZxyz(2.8119, 1.6092, 10.9867)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C155F #585F15
analogous
#15335F #1C155F #41155F
triadic
#1C155F #5F1C15 #155F1C
tetradic
#1C155F #5F1533 #585F15 #155F41
square
#1C155F #5F1533 #585F15 #155F41
split-complementary
#1C155F #5F4115 #335F15
monochromatic
#070619 #0D0A2D #1C155F #2B2091 #3A2BC3

Accessibility & contrast

On white

15.89
#1C155F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1C155F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C155F
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C155F#FFFFFF#000000##FFFFFF
##1C155F1.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002561
Deuteranopia (green-blind)
#001F5E
Tritanopia (blue-blind)
#002A38
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1c155f;
/* rgb */ color: rgb(28, 21, 95);
/* oklch */ color: oklch(26.5% 0.124 277.9);
Tailwind
colors: {
  custom: {
    50: '#63538d',
    500: '#1c155f',
    950: '#000000',
  },
}
SCSS
$custom: #1c155f;
$custom-light: #63538d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c155f",
  "rgb": {
    "r": 28,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 245.676,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26473,
    "c": 0.12425,
    "h": 277.9
  },
  "luminance": 0.01609
}

Semantic roles & 50–950 ramp

primary
#1C155F
secondary
#8E963A
accent
#E741D7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1C155F

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

Preview Lab → · Contrast checker → · Palette generator →

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