#1C2182#1C2182

#1C2182 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.158 H 271.3°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#1C2182
RGBrgb(28, 33, 130)
HSLhsl(237, 65%, 31%)
HSVhsv(237, 78%, 51%)
CMYKcmyk(78.5%, 74.6%, 0%, 49%)
CIE-LABlab(19.83, 33.56, -54.55)
CIE-LCHlch(19.83, 64.04, 301.60°)
OKLaboklab(32.29% 0.0035 -0.1579)
OKLCHoklch(32.29% 0.158 271.3)
XYZxyz(5.0506, 2.9457, 21.4172)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2182 #827D1C
analogous
#1C5482 #1C2182 #4A1C82
triadic
#1C2182 #821C21 #21821C
tetradic
#1C2182 #821C54 #827D1C #1C824A
square
#1C2182 #821C54 #827D1C #1C824A
split-complementary
#1C2182 #824A1C #54821C
monochromatic
#06071D #111450 #1C2182 #272EB4 #4249D6

Accessibility & contrast

On white

13.21
#1C2182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2182
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2182#FFFFFF#000000##FFFFFF
##1C21821.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003585
Deuteranopia (green-blind)
#002B80
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1c2182;
/* rgb */ color: rgb(28, 33, 130);
/* oklch */ color: oklch(32.3% 0.158 271.3);
Tailwind
colors: {
  custom: {
    50: '#6b5da7',
    500: '#1c2182',
    950: '#000000',
  },
}
SCSS
$custom: #1c2182;
$custom-light: #6b5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2182",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 237.059,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32286,
    "c": 0.15795,
    "h": 271.3
  },
  "luminance": 0.02946
}

Semantic roles & 50–950 ramp

primary
#1C2182
secondary
#B5B044
accent
#DF40E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1C2182

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

Preview Lab → · Contrast checker → · Palette generator →

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