#1C3F89#1C3F89

#1C3F89 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.130 H 262.8°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#1C3F89
RGBrgb(28, 63, 137)
HSLhsl(221, 66%, 32%)
HSVhsv(221, 80%, 54%)
CMYKcmyk(79.6%, 54%, 0%, 46.3%)
CIE-LABlab(28.40, 15.89, -44.91)
CIE-LCHlch(28.40, 47.64, 289.48°)
OKLaboklab(38.83% -0.0163 -0.1294)
OKLCHoklch(38.83% 0.13 262.8)
XYZxyz(6.7701, 5.6073, 24.3876)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3F89 #89661C
analogous
#1C7689 #1C3F89 #2F1C89
triadic
#1C3F89 #891C3F #3F891C
tetradic
#1C3F89 #891C76 #89661C #1C892F
square
#1C3F89 #891C76 #89661C #1C892F
split-complementary
#1C3F89 #892F1C #76891C
monochromatic
#071023 #122856 #1C3F89 #2656BC #4675D9

Accessibility & contrast

On white

9.90
#1C3F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1C3F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3F89
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3F89#FFFFFF#000000##FFFFFF
##1C3F891.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09488C
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1c3f89;
/* rgb */ color: rgb(28, 63, 137);
/* oklch */ color: oklch(38.8% 0.130 262.8);
Tailwind
colors: {
  custom: {
    50: '#6a73ac',
    500: '#1c3f89',
    950: '#000000',
  },
}
SCSS
$custom: #1c3f89;
$custom-light: #6a73ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3f89",
  "rgb": {
    "r": 28,
    "g": 63,
    "b": 137
  },
  "hsl": {
    "h": 220.734,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38826,
    "c": 0.1304,
    "h": 262.8
  },
  "luminance": 0.05608
}

Semantic roles & 50–950 ramp

primary
#1C3F89
secondary
#BB9546
accent
#B23FE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1C3F89

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

Preview Lab → · Contrast checker → · Palette generator →

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