#1C2971#1C2971

#1C2971 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.0% C 0.125 H 269.9°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#1C2971
RGBrgb(28, 41, 113)
HSLhsl(231, 60%, 28%)
HSVhsv(231, 75%, 44%)
CMYKcmyk(75.2%, 63.7%, 0%, 55.7%)
CIE-LABlab(20.14, 21.70, -43.18)
CIE-LCHlch(20.14, 48.33, 296.68°)
OKLaboklab(32% -0.0001 -0.1246)
OKLCHoklch(32% 0.125 269.9)
XYZxyz(4.2514, 3.0246, 15.9793)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2971 #71641C
analogous
#1C5371 #1C2971 #3A1C71
triadic
#1C2971 #711C29 #29711C
tetradic
#1C2971 #711C53 #71641C #1C713A
square
#1C2971 #711C53 #71641C #1C713A
split-complementary
#1C2971 #713A1C #53711C
monochromatic
#060919 #101740 #1C2971 #283BA2 #3950CE

Accessibility & contrast

On white

13.08
#1C2971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2971
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2971#FFFFFF#000000##FFFFFF
##1C29711.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1c2971;
/* rgb */ color: rgb(28, 41, 113);
/* oklch */ color: oklch(32.0% 0.125 269.9);
Tailwind
colors: {
  custom: {
    50: '#66629a',
    500: '#1c2971',
    950: '#000000',
  },
}
SCSS
$custom: #1c2971;
$custom-light: #66629a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2971",
  "rgb": {
    "r": 28,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 230.824,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32003,
    "c": 0.12465,
    "h": 269.9
  },
  "luminance": 0.03025
}

Semantic roles & 50–950 ramp

primary
#1C2971
secondary
#A69643
accent
#CB44E3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1C2971

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

Preview Lab → · Contrast checker → · Palette generator →

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