#1C2897#1C2897

#1C2897 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.7% C 0.178 H 269.2°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#1C2897
RGBrgb(28, 40, 151)
HSLhsl(234, 69%, 35%)
HSVhsv(234, 81%, 59%)
CMYKcmyk(81.5%, 73.5%, 0%, 40.8%)
CIE-LABlab(23.66, 36.82, -61.30)
CIE-LCHlch(23.66, 71.50, 300.99°)
OKLaboklab(35.71% -0.0026 -0.1776)
OKLCHoklch(35.71% 0.178 269.2)
XYZxyz(6.8217, 3.9980, 29.6843)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2897 #978B1C
analogous
#1C6697 #1C2897 #4D1C97
triadic
#1C2897 #971C28 #28971C
tetradic
#1C2897 #971C66 #978B1C #1C974D
square
#1C2897 #971C66 #978B1C #1C974D
split-complementary
#1C2897 #974D1C #66971C
monochromatic
#090D30 #121A63 #1C2897 #2636CB #4F5DDE

Accessibility & contrast

On white

11.67
#1C2897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1C2897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2897
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2897#FFFFFF#000000##FFFFFF
##1C28971.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9A
Deuteranopia (green-blind)
#003295
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1c2897;
/* rgb */ color: rgb(28, 40, 151);
/* oklch */ color: oklch(35.7% 0.178 269.2);
Tailwind
colors: {
  custom: {
    50: '#7063b7',
    500: '#1c2897',
    950: '#000000',
  },
}
SCSS
$custom: #1c2897;
$custom-light: #7063b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2897",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 234.146,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35713,
    "c": 0.1776,
    "h": 269.2
  },
  "luminance": 0.03999
}

Semantic roles & 50–950 ramp

primary
#1C2897
secondary
#C1B64E
accent
#DA3CEC
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1C2897

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

Preview Lab → · Contrast checker → · Palette generator →

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