#1C2D71#1C2D71

#1C2D71 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.8% C 0.119 H 268.4°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#1C2D71
RGBrgb(28, 45, 113)
HSLhsl(228, 60%, 28%)
HSVhsv(228, 75%, 44%)
CMYKcmyk(75.2%, 60.2%, 0%, 55.7%)
CIE-LABlab(21.27, 18.86, -41.35)
CIE-LCHlch(21.27, 45.45, 294.52°)
OKLaboklab(32.84% -0.0034 -0.1192)
OKLCHoklch(32.84% 0.119 268.4)
XYZxyz(4.3969, 3.3154, 16.0278)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2D71 #71601C
analogous
#1C5771 #1C2D71 #351C71
triadic
#1C2D71 #711C2D #2D711C
tetradic
#1C2D71 #711C57 #71601C #1C7135
square
#1C2D71 #711C57 #71601C #1C7135
split-complementary
#1C2D71 #71351C #57711C
monochromatic
#060A19 #101940 #1C2D71 #2841A2 #3957CE

Accessibility & contrast

On white

12.63
#1C2D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1C2D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2D71
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2D71#FFFFFF#000000##FFFFFF
##1C2D711.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1c2d71;
/* rgb */ color: rgb(28, 45, 113);
/* oklch */ color: oklch(32.8% 0.119 268.4);
Tailwind
colors: {
  custom: {
    50: '#65659a',
    500: '#1c2d71',
    950: '#000000',
  },
}
SCSS
$custom: #1c2d71;
$custom-light: #65659a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2d71",
  "rgb": {
    "r": 28,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 228,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32839,
    "c": 0.11927,
    "h": 268.4
  },
  "luminance": 0.03316
}

Semantic roles & 50–950 ramp

primary
#1C2D71
secondary
#A69243
accent
#C444E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1C2D71

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

Preview Lab → · Contrast checker → · Palette generator →

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