#1C2185#1C2185

#1C2185 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.162 H 271.1°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#1C2185
RGBrgb(28, 33, 133)
HSLhsl(237, 65%, 32%)
HSVhsv(237, 79%, 52%)
CMYKcmyk(78.9%, 75.2%, 0%, 47.8%)
CIE-LABlab(20.15, 34.64, -55.90)
CIE-LCHlch(20.15, 65.76, 301.79°)
OKLaboklab(32.62% 0.003 -0.1618)
OKLCHoklch(32.62% 0.162 271.1)
XYZxyz(5.2549, 3.0275, 22.4932)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2185 #85801C
analogous
#1C5685 #1C2185 #4C1C85
triadic
#1C2185 #851C21 #21851C
tetradic
#1C2185 #851C56 #85801C #1C854C
square
#1C2185 #851C56 #85801C #1C854C
split-complementary
#1C2185 #854C1C #56851C
monochromatic
#070820 #111452 #1C2185 #272EB8 #444BD8

Accessibility & contrast

On white

13.08
#1C2185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2185
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2185#FFFFFF#000000##FFFFFF
##1C21851.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002B83
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1c2185;
/* rgb */ color: rgb(28, 33, 133);
/* oklch */ color: oklch(32.6% 0.162 271.1);
Tailwind
colors: {
  custom: {
    50: '#6c5daa',
    500: '#1c2185',
    950: '#000000',
  },
}
SCSS
$custom: #1c2185;
$custom-light: #6c5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2185",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 237.143,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32619,
    "c": 0.16187,
    "h": 271.1
  },
  "luminance": 0.03028
}

Semantic roles & 50–950 ramp

primary
#1C2185
secondary
#B8B345
accent
#E040E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1C2185

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

Preview Lab → · Contrast checker → · Palette generator →

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