#1C155E#1C155E

#1C155E is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.4% C 0.123 H 278.1°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#1C155E
RGBrgb(28, 21, 94)
HSLhsl(246, 63%, 23%)
HSVhsv(246, 78%, 37%)
CMYKcmyk(70.2%, 77.7%, 0%, 63.1%)
CIE-LABlab(13.18, 28.05, -42.13)
CIE-LCHlch(13.18, 50.61, 303.66°)
OKLaboklab(26.36% 0.0173 -0.1216)
OKLCHoklch(26.36% 0.123 278.1)
XYZxyz(2.7668, 1.5911, 10.7488)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C155E #575E15
analogous
#15335E #1C155E #40155E
triadic
#1C155E #5E1C15 #155E1C
tetradic
#1C155E #5E1533 #575E15 #155E40
square
#1C155E #5E1533 #575E15 #155E40
split-complementary
#1C155E #5E4015 #335E15
monochromatic
#070619 #0D0A2C #1C155E #2B2090 #3A2BC2

Accessibility & contrast

On white

15.93
#1C155E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C155E
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C155E#FFFFFF#000000##FFFFFF
##1C155E1.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002560
Deuteranopia (green-blind)
#001F5D
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1c155e;
/* rgb */ color: rgb(28, 21, 94);
/* oklch */ color: oklch(26.4% 0.123 278.1);
Tailwind
colors: {
  custom: {
    50: '#63538c',
    500: '#1c155e',
    950: '#000000',
  },
}
SCSS
$custom: #1c155e;
$custom-light: #63538c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c155e",
  "rgb": {
    "r": 28,
    "g": 21,
    "b": 94
  },
  "hsl": {
    "h": 245.753,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26362,
    "c": 0.12288,
    "h": 278.1
  },
  "luminance": 0.01591
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C155E

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

Preview Lab → · Contrast checker → · Palette generator →

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