#1C2489#1C2489

#1C2489 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.164 H 270.3°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#1C2489
RGBrgb(28, 36, 137)
HSLhsl(236, 66%, 32%)
HSVhsv(236, 80%, 54%)
CMYKcmyk(79.6%, 73.7%, 0%, 46.3%)
CIE-LABlab(21.26, 34.23, -56.58)
CIE-LCHlch(21.26, 66.13, 301.17°)
OKLaboklab(33.54% 0.001 -0.1638)
OKLCHoklch(33.54% 0.164 270.3)
XYZxyz(5.6236, 3.3141, 24.0054)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2489 #89811C
analogous
#1C5B89 #1C2489 #4A1C89
triadic
#1C2489 #891C24 #24891C
tetradic
#1C2489 #891C5B #89811C #1C894A
square
#1C2489 #891C5B #89811C #1C894A
split-complementary
#1C2489 #894A1C #5B891C
monochromatic
#070923 #121756 #1C2489 #2631BC #4651D9

Accessibility & contrast

On white

12.63
#1C2489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1C2489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2489
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2489#FFFFFF#000000##FFFFFF
##1C24891.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#002E87
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1c2489;
/* rgb */ color: rgb(28, 36, 137);
/* oklch */ color: oklch(33.5% 0.164 270.3);
Tailwind
colors: {
  custom: {
    50: '#6d5fad',
    500: '#1c2489',
    950: '#000000',
  },
}
SCSS
$custom: #1c2489;
$custom-light: #6d5fad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2489",
  "rgb": {
    "r": 28,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 235.596,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3354,
    "c": 0.16384,
    "h": 270.3
  },
  "luminance": 0.03315
}

Semantic roles & 50–950 ramp

primary
#1C2489
secondary
#BBB246
accent
#DD3FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1C2489

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

Preview Lab → · Contrast checker → · Palette generator →

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