#1C287E#1C287E

#1C287E is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.144 H 270.0°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#1C287E
RGBrgb(28, 40, 126)
HSLhsl(233, 64%, 30%)
HSVhsv(233, 78%, 49%)
CMYKcmyk(77.8%, 68.3%, 0%, 50.6%)
CIE-LABlab(21.10, 27.48, -49.93)
CIE-LCHlch(21.10, 56.99, 298.83°)
OKLaboklab(33.08% 0 -0.1444)
OKLCHoklch(33.08% 0.144 270)
XYZxyz(5.0023, 3.2703, 20.1022)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C287E #7E721C
analogous
#1C597E #1C287E #411C7E
triadic
#1C287E #7E1C28 #287E1C
tetradic
#1C287E #7E1C59 #7E721C #1C7E41
square
#1C287E #7E1C59 #7E721C #1C7E41
split-complementary
#1C287E #7E411C #597E1C
monochromatic
#06081A #11184C #1C287E #2738B0 #4052D5

Accessibility & contrast

On white

12.69
#1C287E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1C287E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C287E
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C287E#FFFFFF#000000##FFFFFF
##1C287E1.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1c287e;
/* rgb */ color: rgb(28, 40, 126);
/* oklch */ color: oklch(33.1% 0.144 270.0);
Tailwind
colors: {
  custom: {
    50: '#6962a4',
    500: '#1c287e',
    950: '#000000',
  },
}
SCSS
$custom: #1c287e;
$custom-light: #6962a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c287e",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 232.653,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3308,
    "c": 0.14442,
    "h": 270
  },
  "luminance": 0.03271
}

Semantic roles & 50–950 ramp

primary
#1C287E
secondary
#B2A444
accent
#D241E7
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1C287E

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

Preview Lab → · Contrast checker → · Palette generator →

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