#1C2C71#1C2C71

#1C2C71 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.121 H 268.8°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#1C2C71
RGBrgb(28, 44, 113)
HSLhsl(229, 60%, 28%)
HSVhsv(229, 75%, 44%)
CMYKcmyk(75.2%, 61.1%, 0%, 55.7%)
CIE-LABlab(20.98, 19.58, -41.81)
CIE-LCHlch(20.98, 46.17, 295.09°)
OKLaboklab(32.63% -0.0026 -0.1206)
OKLCHoklch(32.63% 0.121 268.8)
XYZxyz(4.3592, 3.2400, 16.0152)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2C71 #71611C
analogous
#1C5671 #1C2C71 #361C71
triadic
#1C2C71 #711C2C #2C711C
tetradic
#1C2C71 #711C56 #71611C #1C7136
square
#1C2C71 #711C56 #71611C #1C7136
split-complementary
#1C2C71 #71361C #56711C
monochromatic
#060A19 #101940 #1C2C71 #283FA2 #3955CE

Accessibility & contrast

On white

12.74
#1C2C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1C2C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2C71
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2C71#FFFFFF#000000##FFFFFF
##1C2C711.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1c2c71;
/* rgb */ color: rgb(28, 44, 113);
/* oklch */ color: oklch(32.6% 0.121 268.8);
Tailwind
colors: {
  custom: {
    50: '#65649a',
    500: '#1c2c71',
    950: '#000000',
  },
}
SCSS
$custom: #1c2c71;
$custom-light: #65649a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2c71",
  "rgb": {
    "r": 28,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 228.706,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32627,
    "c": 0.12062,
    "h": 268.8
  },
  "luminance": 0.0324
}

Semantic roles & 50–950 ramp

primary
#1C2C71
secondary
#A69343
accent
#C544E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1C2C71

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

Preview Lab → · Contrast checker → · Palette generator →

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