#1C3271#1C3271

#1C3271 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.112 H 266.0°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#1C3271
RGBrgb(28, 50, 113)
HSLhsl(224, 60%, 28%)
HSVhsv(224, 75%, 44%)
CMYKcmyk(75.2%, 55.8%, 0%, 55.7%)
CIE-LABlab(22.72, 15.29, -38.99)
CIE-LCHlch(22.72, 41.88, 291.42°)
OKLaboklab(33.94% -0.0078 -0.1122)
OKLCHoklch(33.94% 0.112 266)
XYZxyz(4.5991, 3.7199, 16.0952)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3271 #715B1C
analogous
#1C5C71 #1C3271 #311C71
triadic
#1C3271 #711C32 #32711C
tetradic
#1C3271 #711C5C #715B1C #1C7131
square
#1C3271 #711C5C #715B1C #1C7131
split-complementary
#1C3271 #71311C #5C711C
monochromatic
#060B19 #101C40 #1C3271 #2848A2 #3960CE

Accessibility & contrast

On white

12.04
#1C3271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1C3271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3271
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3271#FFFFFF#000000##FFFFFF
##1C32711.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053A73
Deuteranopia (green-blind)
#003370
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c3271;
/* rgb */ color: rgb(28, 50, 113);
/* oklch */ color: oklch(33.9% 0.112 266.0);
Tailwind
colors: {
  custom: {
    50: '#65699a',
    500: '#1c3271',
    950: '#000000',
  },
}
SCSS
$custom: #1c3271;
$custom-light: #65699a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3271",
  "rgb": {
    "r": 28,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 224.471,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33936,
    "c": 0.11245,
    "h": 266
  },
  "luminance": 0.0372
}

Semantic roles & 50–950 ramp

primary
#1C3271
secondary
#A68C43
accent
#BA44E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1C3271

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

Preview Lab → · Contrast checker → · Palette generator →

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