#1C3287#1C3287

#1C3287 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.144 H 267.3°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#1C3287
RGBrgb(28, 50, 135)
HSLhsl(228, 66%, 32%)
HSVhsv(228, 79%, 53%)
CMYKcmyk(79.3%, 63%, 0%, 47.1%)
CIE-LABlab(24.57, 24.13, -49.90)
CIE-LCHlch(24.57, 55.43, 295.81°)
OKLaboklab(35.89% -0.0068 -0.1442)
OKLCHoklch(35.89% 0.144 267.3)
XYZxyz(5.9911, 4.2767, 23.4267)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3287 #87711C
analogous
#1C6787 #1C3287 #3C1C87
triadic
#1C3287 #871C32 #32871C
tetradic
#1C3287 #871C67 #87711C #1C873C
square
#1C3287 #871C67 #87711C #1C873C
split-complementary
#1C3287 #873C1C #67871C
monochromatic
#070C22 #111F54 #1C3287 #2745BA #4563D8

Accessibility & contrast

On white

11.32
#1C3287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1C3287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3287
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3287#FFFFFF#000000##FFFFFF
##1C32871.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#003585
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1c3287;
/* rgb */ color: rgb(28, 50, 135);
/* oklch */ color: oklch(35.9% 0.144 267.3);
Tailwind
colors: {
  custom: {
    50: '#6b69ab',
    500: '#1c3287',
    950: '#000000',
  },
}
SCSS
$custom: #1c3287;
$custom-light: #6b69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3287",
  "rgb": {
    "r": 28,
    "g": 50,
    "b": 135
  },
  "hsl": {
    "h": 227.664,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35894,
    "c": 0.14441,
    "h": 267.3
  },
  "luminance": 0.04277
}

Semantic roles & 50–950 ramp

primary
#1C3287
secondary
#BAA245
accent
#C63FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1C3287

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

Preview Lab → · Contrast checker → · Palette generator →

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