#1C2284#1C2284

#1C2284 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.159 H 271.0°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#1C2284
RGBrgb(28, 34, 132)
HSLhsl(237, 65%, 31%)
HSVhsv(237, 79%, 52%)
CMYKcmyk(78.8%, 74.2%, 0%, 48.2%)
CIE-LABlab(20.27, 33.66, -55.08)
CIE-LCHlch(20.27, 64.55, 301.43°)
OKLaboklab(32.67% 0.0027 -0.1595)
OKLCHoklch(32.67% 0.159 271)
XYZxyz(5.2144, 3.0563, 22.1404)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2284 #847E1C
analogous
#1C5684 #1C2284 #4A1C84
triadic
#1C2284 #841C22 #22841C
tetradic
#1C2284 #841C56 #847E1C #1C844A
square
#1C2284 #841C56 #847E1C #1C844A
split-complementary
#1C2284 #844A1C #56841C
monochromatic
#07081F #111552 #1C2284 #272FB6 #434CD7

Accessibility & contrast

On white

13.03
#1C2284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2284
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2284#FFFFFF#000000##FFFFFF
##1C22841.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003687
Deuteranopia (green-blind)
#002C82
Tritanopia (blue-blind)
#003E50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1c2284;
/* rgb */ color: rgb(28, 34, 132);
/* oklch */ color: oklch(32.7% 0.159 271.0);
Tailwind
colors: {
  custom: {
    50: '#6b5ea9',
    500: '#1c2284',
    950: '#000000',
  },
}
SCSS
$custom: #1c2284;
$custom-light: #6b5ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2284",
  "rgb": {
    "r": 28,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 236.538,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32668,
    "c": 0.15948,
    "h": 271
  },
  "luminance": 0.03057
}

Semantic roles & 50–950 ramp

primary
#1C2284
secondary
#B7B145
accent
#DE40E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1C2284

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

Preview Lab → · Contrast checker → · Palette generator →

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