#1C2183#1C2183

#1C2183 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.159 H 271.2°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#1C2183
RGBrgb(28, 33, 131)
HSLhsl(237, 65%, 31%)
HSVhsv(237, 79%, 51%)
CMYKcmyk(78.6%, 74.8%, 0%, 48.6%)
CIE-LABlab(19.93, 33.92, -55.00)
CIE-LCHlch(19.93, 64.62, 301.67°)
OKLaboklab(32.4% 0.0033 -0.1592)
OKLCHoklch(32.4% 0.159 271.2)
XYZxyz(5.1181, 2.9727, 21.7724)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2183 #837E1C
analogous
#1C5483 #1C2183 #4A1C83
triadic
#1C2183 #831C21 #21831C
tetradic
#1C2183 #831C54 #837E1C #1C834A
square
#1C2183 #831C54 #837E1C #1C834A
split-complementary
#1C2183 #834A1C #54831C
monochromatic
#06081E #111451 #1C2183 #272EB5 #434AD7

Accessibility & contrast

On white

13.17
#1C2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1C2183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2183
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2183#FFFFFF#000000##FFFFFF
##1C21831.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003586
Deuteranopia (green-blind)
#002B81
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1c2183;
/* rgb */ color: rgb(28, 33, 131);
/* oklch */ color: oklch(32.4% 0.159 271.2);
Tailwind
colors: {
  custom: {
    50: '#6b5da8',
    500: '#1c2183',
    950: '#000000',
  },
}
SCSS
$custom: #1c2183;
$custom-light: #6b5da8;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2183",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 237.087,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32397,
    "c": 0.15925,
    "h": 271.2
  },
  "luminance": 0.02973
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C2183

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

Preview Lab → · Contrast checker → · Palette generator →

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