#1C2989#1C2989

#1C2989 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.158 H 269.5°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#1C2989
RGBrgb(28, 41, 137)
HSLhsl(233, 66%, 32%)
HSVhsv(233, 80%, 54%)
CMYKcmyk(79.6%, 70.1%, 0%, 46.3%)
CIE-LABlab(22.44, 31.01, -54.64)
CIE-LCHlch(22.44, 62.83, 299.57°)
OKLaboklab(34.39% -0.0015 -0.1582)
OKLCHoklch(34.39% 0.158 269.5)
XYZxyz(5.7856, 3.6382, 24.0594)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2989 #897C1C
analogous
#1C6089 #1C2989 #451C89
triadic
#1C2989 #891C29 #29891C
tetradic
#1C2989 #891C60 #897C1C #1C8945
square
#1C2989 #891C60 #897C1C #1C8945
split-complementary
#1C2989 #89451C #60891C
monochromatic
#070B23 #121A56 #1C2989 #2638BC #4658D9

Accessibility & contrast

On white

12.15
#1C2989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2989
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2989#FFFFFF#000000##FFFFFF
##1C29891.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c2989;
/* rgb */ color: rgb(28, 41, 137);
/* oklch */ color: oklch(34.4% 0.158 269.5);
Tailwind
colors: {
  custom: {
    50: '#6c63ac',
    500: '#1c2989',
    950: '#000000',
  },
}
SCSS
$custom: #1c2989;
$custom-light: #6c63ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2989",
  "rgb": {
    "r": 28,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 232.844,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3439,
    "c": 0.1582,
    "h": 269.5
  },
  "luminance": 0.03639
}

Semantic roles & 50–950 ramp

primary
#1C2989
secondary
#BBAD46
accent
#D53FE9
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1C2989

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

Preview Lab → · Contrast checker → · Palette generator →

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