#1C2287#1C2287

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

Color values

HEX#1C2287
RGBrgb(28, 34, 135)
HSLhsl(237, 66%, 32%)
HSVhsv(237, 79%, 53%)
CMYKcmyk(79.3%, 74.8%, 0%, 47.1%)
CIE-LABlab(20.59, 34.75, -56.43)
CIE-LCHlch(20.59, 66.27, 301.63°)
OKLaboklab(33% 0.0022 -0.1634)
OKLCHoklch(33% 0.163 270.8)
XYZxyz(5.4226, 3.1396, 23.2372)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2287 #87811C
analogous
#1C5787 #1C2287 #4C1C87
triadic
#1C2287 #871C22 #22871C
tetradic
#1C2287 #871C57 #87811C #1C874C
square
#1C2287 #871C57 #87811C #1C874C
split-complementary
#1C2287 #874C1C #57871C
monochromatic
#070822 #111554 #1C2287 #272FBA #454DD8

Accessibility & contrast

On white

12.90
#1C2287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1C2287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2287
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2287#FFFFFF#000000##FFFFFF
##1C22871.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378A
Deuteranopia (green-blind)
#002C85
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1c2287;
/* rgb */ color: rgb(28, 34, 135);
/* oklch */ color: oklch(33.0% 0.163 270.8);
Tailwind
colors: {
  custom: {
    50: '#6c5eab',
    500: '#1c2287',
    950: '#000000',
  },
}
SCSS
$custom: #1c2287;
$custom-light: #6c5eab;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2287",
  "rgb": {
    "r": 28,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 236.636,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32999,
    "c": 0.16339,
    "h": 270.8
  },
  "luminance": 0.0314
}

Semantic roles & 50–950 ramp

primary
#1C2287
secondary
#BAB345
accent
#DF3FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1C2287

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

Preview Lab → · Contrast checker → · Palette generator →

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