#1C2272#1C2272

#1C2272 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.135 H 272.1°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#1C2272
RGBrgb(28, 34, 114)
HSLhsl(236, 61%, 28%)
HSVhsv(236, 75%, 45%)
CMYKcmyk(75.4%, 70.2%, 0%, 55.3%)
CIE-LABlab(18.39, 26.95, -46.70)
CIE-LCHlch(18.39, 53.91, 299.99°)
OKLaboklab(30.75% 0.005 -0.135)
OKLCHoklch(30.75% 0.135 272.1)
XYZxyz(4.0872, 2.6054, 16.2038)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2272 #726C1C
analogous
#1C4D72 #1C2272 #411C72
triadic
#1C2272 #721C22 #22721C
tetradic
#1C2272 #721C4D #726C1C #1C7241
square
#1C2272 #721C4D #726C1C #1C7241
split-complementary
#1C2272 #72411C #4D721C
monochromatic
#060719 #101341 #1C2272 #2831A3 #3A44CF

Accessibility & contrast

On white

13.80
#1C2272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1C2272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2272
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2272#FFFFFF#000000##FFFFFF
##1C22721.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003174
Deuteranopia (green-blind)
#002971
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1c2272;
/* rgb */ color: rgb(28, 34, 114);
/* oklch */ color: oklch(30.7% 0.135 272.1);
Tailwind
colors: {
  custom: {
    50: '#675d9b',
    500: '#1c2272',
    950: '#000000',
  },
}
SCSS
$custom: #1c2272;
$custom-light: #675d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2272",
  "rgb": {
    "r": 28,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 235.814,
    "s": 60.563,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30746,
    "c": 0.13509,
    "h": 272.1
  },
  "luminance": 0.02606
}

Semantic roles & 50–950 ramp

primary
#1C2272
secondary
#A6A043
accent
#D944E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1C2272

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

Preview Lab → · Contrast checker → · Palette generator →

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