#1C288F#1C288F

#1C288F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.167 H 269.4°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#1C288F
RGBrgb(28, 40, 143)
HSLhsl(234, 67%, 34%)
HSVhsv(234, 80%, 56%)
CMYKcmyk(80.4%, 72%, 0%, 43.9%)
CIE-LABlab(22.82, 33.90, -57.75)
CIE-LCHlch(22.82, 66.97, 300.41°)
OKLaboklab(34.85% -0.0016 -0.1673)
OKLCHoklch(34.85% 0.167 269.4)
XYZxyz(6.1939, 3.7469, 26.3781)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C288F #8F831C
analogous
#1C618F #1C288F #491C8F
triadic
#1C288F #8F1C28 #288F1C
tetradic
#1C288F #8F1C61 #8F831C #1C8F49
square
#1C288F #8F1C61 #8F831C #1C8F49
split-complementary
#1C288F #8F491C #618F1C
monochromatic
#080B29 #121A5C #1C288F #2636C2 #4A59DC

Accessibility & contrast

On white

12.00
#1C288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1C288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C288F
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C288F#FFFFFF#000000##FFFFFF
##1C288F1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c288f;
/* rgb */ color: rgb(28, 40, 143);
/* oklch */ color: oklch(34.8% 0.167 269.4);
Tailwind
colors: {
  custom: {
    50: '#6e62b1',
    500: '#1c288f',
    950: '#000000',
  },
}
SCSS
$custom: #1c288f;
$custom-light: #6e62b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c288f",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 233.739,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3485,
    "c": 0.16728,
    "h": 269.4
  },
  "luminance": 0.03748
}

Semantic roles & 50–950 ramp

primary
#1C288F
secondary
#BEB149
accent
#D83EEA
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #1C288F

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

Preview Lab → · Contrast checker → · Palette generator →

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