#1C2276#1C2276

#1C2276 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.141 H 271.8°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#1C2276
RGBrgb(28, 34, 118)
HSLhsl(236, 62%, 29%)
HSVhsv(236, 76%, 46%)
CMYKcmyk(76.3%, 71.2%, 0%, 53.7%)
CIE-LABlab(18.79, 28.46, -48.60)
CIE-LCHlch(18.79, 56.32, 300.35°)
OKLaboklab(31.16% 0.0045 -0.1406)
OKLCHoklch(31.16% 0.141 271.8)
XYZxyz(4.3198, 2.6985, 17.4292)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2276 #76701C
analogous
#1C4F76 #1C2276 #431C76
triadic
#1C2276 #761C22 #22761C
tetradic
#1C2276 #761C4F #76701C #1C7643
square
#1C2276 #761C4F #76701C #1C7643
split-complementary
#1C2276 #76431C #4F761C
monochromatic
#060719 #101445 #1C2276 #2830A7 #3C46D1

Accessibility & contrast

On white

13.64
#1C2276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1C2276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2276
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2276#FFFFFF#000000##FFFFFF
##1C22761.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002974
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1c2276;
/* rgb */ color: rgb(28, 34, 118);
/* oklch */ color: oklch(31.2% 0.141 271.8);
Tailwind
colors: {
  custom: {
    50: '#685d9e',
    500: '#1c2276',
    950: '#000000',
  },
}
SCSS
$custom: #1c2276;
$custom-light: #685d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2276",
  "rgb": {
    "r": 28,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 236,
    "s": 61.644,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31163,
    "c": 0.14065,
    "h": 271.8
  },
  "luminance": 0.02699
}

Semantic roles & 50–950 ramp

primary
#1C2276
secondary
#AAA344
accent
#DA43E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1C2276

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

Preview Lab → · Contrast checker → · Palette generator →

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