#1C2B71#1C2B71

#1C2B71 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.4% C 0.122 H 269.2°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#1C2B71
RGBrgb(28, 43, 113)
HSLhsl(229, 60%, 28%)
HSVhsv(229, 75%, 44%)
CMYKcmyk(75.2%, 61.9%, 0%, 55.7%)
CIE-LABlab(20.70, 20.29, -42.27)
CIE-LCHlch(20.70, 46.89, 295.64°)
OKLaboklab(32.42% -0.0017 -0.122)
OKLCHoklch(32.42% 0.122 269.2)
XYZxyz(4.3224, 3.1664, 16.0030)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2B71 #71621C
analogous
#1C5571 #1C2B71 #381C71
triadic
#1C2B71 #711C2B #2B711C
tetradic
#1C2B71 #711C55 #71621C #1C7138
square
#1C2B71 #711C55 #71621C #1C7138
split-complementary
#1C2B71 #71381C #55711C
monochromatic
#060919 #101840 #1C2B71 #283EA2 #3954CE

Accessibility & contrast

On white

12.86
#1C2B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1C2B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2B71
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2B71#FFFFFF#000000##FFFFFF
##1C2B711.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c2b71;
/* rgb */ color: rgb(28, 43, 113);
/* oklch */ color: oklch(32.4% 0.122 269.2);
Tailwind
colors: {
  custom: {
    50: '#65649a',
    500: '#1c2b71',
    950: '#000000',
  },
}
SCSS
$custom: #1c2b71;
$custom-light: #65649a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2b71",
  "rgb": {
    "r": 28,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 229.412,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32416,
    "c": 0.12197,
    "h": 269.2
  },
  "luminance": 0.03167
}

Semantic roles & 50–950 ramp

primary
#1C2B71
secondary
#A69443
accent
#C744E3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1C2B71

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

Preview Lab → · Contrast checker → · Palette generator →

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