#1C1895#1C1895

#1C1895 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.190 H 270.8°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#1C1895
RGBrgb(28, 24, 149)
HSLhsl(242, 72%, 34%)
HSVhsv(242, 84%, 58%)
CMYKcmyk(81.2%, 83.9%, 0%, 41.6%)
CIE-LABlab(20.32, 45.03, -65.60)
CIE-LCHlch(20.32, 79.57, 304.47°)
OKLaboklab(33.29% 0.0027 -0.1899)
OKLCHoklch(33.29% 0.19 270.8)
XYZxyz(6.2285, 3.0694, 28.6921)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1895 #919518
analogous
#185395 #1C1895 #5B1895
triadic
#1C1895 #951C18 #18951C
tetradic
#1C1895 #951853 #919518 #18955B
square
#1C1895 #951853 #919518 #18955B
split-complementary
#1C1895 #955B18 #539518
monochromatic
#08072C #121060 #1C1895 #2620CA #4B46E1

Accessibility & contrast

On white

13.01
#1C1895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1C1895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1895
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1895#FFFFFF#000000##FFFFFF
##1C18951.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003798
Deuteranopia (green-blind)
#002A93
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1c1895;
/* rgb */ color: rgb(28, 24, 149);
/* oklch */ color: oklch(33.3% 0.190 270.8);
Tailwind
colors: {
  custom: {
    50: '#7159b6',
    500: '#1c1895',
    950: '#000000',
  },
}
SCSS
$custom: #1c1895;
$custom-light: #7159b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1895",
  "rgb": {
    "r": 28,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 241.92,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33286,
    "c": 0.18989,
    "h": 270.8
  },
  "luminance": 0.0307
}

Semantic roles & 50–950 ramp

primary
#1C1895
secondary
#BEC246
accent
#EF39E9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1C1895

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

Preview Lab → · Contrast checker → · Palette generator →

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