#1C2C81#1C2C81

#1C2C81 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.144 H 268.9°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#1C2C81
RGBrgb(28, 44, 129)
HSLhsl(230, 64%, 31%)
HSVhsv(230, 78%, 51%)
CMYKcmyk(78.3%, 65.9%, 0%, 49.4%)
CIE-LABlab(22.42, 25.92, -49.65)
CIE-LCHlch(22.42, 56.01, 297.56°)
OKLaboklab(34.14% -0.0027 -0.1436)
OKLCHoklch(34.14% 0.144 268.9)
XYZxyz(5.3407, 3.6326, 21.1843)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2C81 #81711C
analogous
#1C5E81 #1C2C81 #3E1C81
triadic
#1C2C81 #811C2C #2C811C
tetradic
#1C2C81 #811C5E #81711C #1C813E
square
#1C2C81 #811C5E #81711C #1C813E
split-complementary
#1C2C81 #813E1C #5E811C
monochromatic
#060A1C #111B4F #1C2C81 #273DB3 #4259D6

Accessibility & contrast

On white

12.16
#1C2C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1C2C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2C81
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2C81#FFFFFF#000000##FFFFFF
##1C2C811.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A84
Deuteranopia (green-blind)
#00317F
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c2c81;
/* rgb */ color: rgb(28, 44, 129);
/* oklch */ color: oklch(34.1% 0.144 268.9);
Tailwind
colors: {
  custom: {
    50: '#6a65a6',
    500: '#1c2c81',
    950: '#000000',
  },
}
SCSS
$custom: #1c2c81;
$custom-light: #6a65a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2c81",
  "rgb": {
    "r": 28,
    "g": 44,
    "b": 129
  },
  "hsl": {
    "h": 230.495,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34137,
    "c": 0.14362,
    "h": 268.9
  },
  "luminance": 0.03633
}

Semantic roles & 50–950 ramp

primary
#1C2C81
secondary
#B4A344
accent
#CD40E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1C2C81

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

Preview Lab → · Contrast checker → · Palette generator →

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