#1C288C#1C288C

#1C288C is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.163 H 269.5°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#1C288C
RGBrgb(28, 40, 140)
HSLhsl(234, 67%, 33%)
HSVhsv(234, 80%, 55%)
CMYKcmyk(80%, 71.4%, 0%, 45.1%)
CIE-LABlab(22.50, 32.78, -56.40)
CIE-LCHlch(22.50, 65.24, 300.17°)
OKLaboklab(34.53% -0.0013 -0.1633)
OKLCHoklch(34.53% 0.163 269.5)
XYZxyz(5.9697, 3.6572, 25.1972)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C288C #8C801C
analogous
#1C608C #1C288C #481C8C
triadic
#1C288C #8C1C28 #288C1C
tetradic
#1C288C #8C1C60 #8C801C #1C8C48
square
#1C288C #8C1C60 #8C801C #1C8C48
split-complementary
#1C288C #8C481C #608C1C
monochromatic
#080B26 #121959 #1C288C #2637BF #4858DA

Accessibility & contrast

On white

12.13
#1C288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1C288C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C288C
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C288C#FFFFFF#000000##FFFFFF
##1C288C1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00308A
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c288c;
/* rgb */ color: rgb(28, 40, 140);
/* oklch */ color: oklch(34.5% 0.163 269.5);
Tailwind
colors: {
  custom: {
    50: '#6d62af',
    500: '#1c288c',
    950: '#000000',
  },
}
SCSS
$custom: #1c288c;
$custom-light: #6d62af;
$custom-dark: #000000;
JSON
{
  "hex": "#1c288c",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 233.571,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34531,
    "c": 0.16334,
    "h": 269.5
  },
  "luminance": 0.03658
}

Semantic roles & 50–950 ramp

primary
#1C288C
secondary
#BCB048
accent
#D73EEA
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080510
muted
#7B797F

Preview Lab

Preview with #1C288C

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

Preview Lab → · Contrast checker → · Palette generator →

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