#1C2A71#1C2A71

#1C2A71 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.2% C 0.123 H 269.6°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#1C2A71
RGBrgb(28, 42, 113)
HSLhsl(230, 60%, 28%)
HSVhsv(230, 75%, 44%)
CMYKcmyk(75.2%, 62.8%, 0%, 55.7%)
CIE-LABlab(20.42, 21.00, -42.73)
CIE-LCHlch(20.42, 47.61, 296.17°)
OKLaboklab(32.21% -0.0009 -0.1233)
OKLCHoklch(32.21% 0.123 269.6)
XYZxyz(4.2865, 3.0946, 15.9910)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2A71 #71631C
analogous
#1C5471 #1C2A71 #391C71
triadic
#1C2A71 #711C2A #2A711C
tetradic
#1C2A71 #711C54 #71631C #1C7139
square
#1C2A71 #711C54 #71631C #1C7139
split-complementary
#1C2A71 #71391C #54711C
monochromatic
#060919 #101840 #1C2A71 #283CA2 #3952CE

Accessibility & contrast

On white

12.97
#1C2A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1C2A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2A71
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2A71#FFFFFF#000000##FFFFFF
##1C2A711.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c2a71;
/* rgb */ color: rgb(28, 42, 113);
/* oklch */ color: oklch(32.2% 0.123 269.6);
Tailwind
colors: {
  custom: {
    50: '#65639a',
    500: '#1c2a71',
    950: '#000000',
  },
}
SCSS
$custom: #1c2a71;
$custom-light: #65639a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2a71",
  "rgb": {
    "r": 28,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 230.118,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32209,
    "c": 0.12331,
    "h": 269.6
  },
  "luminance": 0.03095
}

Semantic roles & 50–950 ramp

primary
#1C2A71
secondary
#A69543
accent
#C944E3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1C2A71

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

Preview Lab → · Contrast checker → · Palette generator →

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