#1C155A#1C155A

#1C155A is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.9% C 0.117 H 278.9°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#1C155A
RGBrgb(28, 21, 90)
HSLhsl(246, 62%, 22%)
HSVhsv(246, 77%, 35%)
CMYKcmyk(68.9%, 76.7%, 0%, 64.7%)
CIE-LABlab(12.74, 26.61, -40.16)
CIE-LCHlch(12.74, 48.17, 303.53°)
OKLaboklab(25.92% 0.0182 -0.1159)
OKLCHoklch(25.92% 0.117 278.9)
XYZxyz(2.5919, 1.5212, 9.8279)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C155A #535A15
analogous
#15315A #1C155A #3F155A
triadic
#1C155A #5A1C15 #155A1C
tetradic
#1C155A #5A1531 #535A15 #155A3F
square
#1C155A #5A1531 #535A15 #155A3F
split-complementary
#1C155A #5A3F15 #315A15
monochromatic
#080619 #0D0928 #1C155A #2B218C #3B2CBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C155A#FFFFFF#000000##FFFFFF
##1C155A1.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)
#00245C
Deuteranopia (green-blind)
#001E59
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1c155a;
/* rgb */ color: rgb(28, 21, 90);
/* oklch */ color: oklch(25.9% 0.117 278.9);
Tailwind
colors: {
  custom: {
    50: '#625389',
    500: '#1c155a',
    950: '#000000',
  },
}
SCSS
$custom: #1c155a;
$custom-light: #625389;
$custom-dark: #000000;
JSON
{
  "hex": "#1c155a",
  "rgb": {
    "r": 28,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 246.087,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25921,
    "c": 0.11731,
    "h": 278.9
  },
  "luminance": 0.01521
}

Semantic roles & 50–950 ramp

primary
#1C155A
secondary
#899239
accent
#E543D5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1C155A

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

Preview Lab → · Contrast checker → · Palette generator →

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