#1C2C84#1C2C84

#1C2C84 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.148 H 268.9°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#1C2C84
RGBrgb(28, 44, 132)
HSLhsl(231, 65%, 31%)
HSVhsv(231, 79%, 52%)
CMYKcmyk(78.8%, 66.7%, 0%, 48.2%)
CIE-LABlab(22.70, 27.08, -51.08)
CIE-LCHlch(22.70, 57.81, 297.93°)
OKLaboklab(34.43% -0.0029 -0.1478)
OKLCHoklch(34.43% 0.148 268.9)
XYZxyz(5.5430, 3.7136, 22.2500)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2C84 #84741C
analogous
#1C6084 #1C2C84 #401C84
triadic
#1C2C84 #841C2C #2C841C
tetradic
#1C2C84 #841C60 #84741C #1C8440
square
#1C2C84 #841C60 #84741C #1C8440
split-complementary
#1C2C84 #84401C #60841C
monochromatic
#070A1F #111B52 #1C2C84 #273DB6 #435AD7

Accessibility & contrast

On white

12.05
#1C2C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1C2C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2C84
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2C84#FFFFFF#000000##FFFFFF
##1C2C841.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003182
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c2c84;
/* rgb */ color: rgb(28, 44, 132);
/* oklch */ color: oklch(34.4% 0.148 268.9);
Tailwind
colors: {
  custom: {
    50: '#6a65a9',
    500: '#1c2c84',
    950: '#000000',
  },
}
SCSS
$custom: #1c2c84;
$custom-light: #6a65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2c84",
  "rgb": {
    "r": 28,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 230.769,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34433,
    "c": 0.14779,
    "h": 268.9
  },
  "luminance": 0.03714
}

Semantic roles & 50–950 ramp

primary
#1C2C84
secondary
#B7A645
accent
#CE40E8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1C2C84

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

Preview Lab → · Contrast checker → · Palette generator →

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