#1C2882#1C2882

#1C2882 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.150 H 269.9°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#1C2882
RGBrgb(28, 40, 130)
HSLhsl(233, 65%, 31%)
HSVhsv(233, 78%, 51%)
CMYKcmyk(78.5%, 69.2%, 0%, 49%)
CIE-LABlab(21.49, 29.02, -51.81)
CIE-LCHlch(21.49, 59.38, 299.25°)
OKLaboklab(33.49% -0.0003 -0.1499)
OKLCHoklch(33.49% 0.15 269.9)
XYZxyz(5.2656, 3.3756, 21.4888)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2882 #82761C
analogous
#1C5B82 #1C2882 #431C82
triadic
#1C2882 #821C28 #28821C
tetradic
#1C2882 #821C5B #82761C #1C8243
square
#1C2882 #821C5B #82761C #1C8243
split-complementary
#1C2882 #82431C #5B821C
monochromatic
#06091D #111950 #1C2882 #2737B4 #4254D6

Accessibility & contrast

On white

12.54
#1C2882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1C2882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2882
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2882#FFFFFF#000000##FFFFFF
##1C28821.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#002F80
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c2882;
/* rgb */ color: rgb(28, 40, 130);
/* oklch */ color: oklch(33.5% 0.150 269.9);
Tailwind
colors: {
  custom: {
    50: '#6a62a7',
    500: '#1c2882',
    950: '#000000',
  },
}
SCSS
$custom: #1c2882;
$custom-light: #6a62a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2882",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 130
  },
  "hsl": {
    "h": 232.941,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33487,
    "c": 0.14992,
    "h": 269.9
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#1C2882
secondary
#B5A844
accent
#D440E8
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1C2882

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

Preview Lab → · Contrast checker → · Palette generator →

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