#1C2286#1C2286

#1C2286 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.162 H 270.8°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#1C2286
RGBrgb(28, 34, 134)
HSLhsl(237, 65%, 32%)
HSVhsv(237, 79%, 53%)
CMYKcmyk(79.1%, 74.6%, 0%, 47.5%)
CIE-LABlab(20.49, 34.39, -55.98)
CIE-LCHlch(20.49, 65.69, 301.56°)
OKLaboklab(32.89% 0.0024 -0.1621)
OKLCHoklch(32.89% 0.162 270.8)
XYZxyz(5.3525, 3.1116, 22.8681)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2286 #86801C
analogous
#1C5786 #1C2286 #4B1C86
triadic
#1C2286 #861C22 #22861C
tetradic
#1C2286 #861C57 #86801C #1C864B
square
#1C2286 #861C57 #86801C #1C864B
split-complementary
#1C2286 #864B1C #57861C
monochromatic
#070821 #111553 #1C2286 #272FB9 #444DD8

Accessibility & contrast

On white

12.94
#1C2286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1C2286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2286
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2286#FFFFFF#000000##FFFFFF
##1C22861.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1c2286;
/* rgb */ color: rgb(28, 34, 134);
/* oklch */ color: oklch(32.9% 0.162 270.8);
Tailwind
colors: {
  custom: {
    50: '#6c5eaa',
    500: '#1c2286',
    950: '#000000',
  },
}
SCSS
$custom: #1c2286;
$custom-light: #6c5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2286",
  "rgb": {
    "r": 28,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 236.604,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32888,
    "c": 0.1621,
    "h": 270.8
  },
  "luminance": 0.03112
}

Semantic roles & 50–950 ramp

primary
#1C2286
secondary
#B9B245
accent
#DF3FE8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1C2286

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

Preview Lab → · Contrast checker → · Palette generator →

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