#1C3F9E#1C3F9E

#1C3F9E is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.160 H 264.7°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#1C3F9E
RGBrgb(28, 63, 158)
HSLhsl(224, 70%, 36%)
HSVhsv(224, 82%, 62%)
CMYKcmyk(82.3%, 60.1%, 0%, 38%)
CIE-LABlab(30.08, 24.31, -55.04)
CIE-LCHlch(30.08, 60.17, 293.83°)
OKLaboklab(40.62% -0.0148 -0.1591)
OKLCHoklch(40.62% 0.16 264.7)
XYZxyz(8.4258, 6.2695, 33.1072)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3F9E #9E7B1C
analogous
#1C809E #1C3F9E #3A1C9E
triadic
#1C3F9E #9E1C3F #3F9E1C
tetradic
#1C3F9E #9E1C80 #9E7B1C #1C9E3A
square
#1C3F9E #9E1C80 #9E7B1C #1C9E3A
split-complementary
#1C3F9E #9E3A1C #809E1C
monochromatic
#0A1636 #132A6A #1C3F9E #2554D2 #547AE1

Accessibility & contrast

On white

9.32
#1C3F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1C3F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3F9E
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3F9E#FFFFFF#000000##FFFFFF
##1C3F9E1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1c3f9e;
/* rgb */ color: rgb(28, 63, 158);
/* oklch */ color: oklch(40.6% 0.160 264.7);
Tailwind
colors: {
  custom: {
    50: '#7073bb',
    500: '#1c3f9e',
    950: '#000000',
  },
}
SCSS
$custom: #1c3f9e;
$custom-light: #7073bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3f9e",
  "rgb": {
    "r": 28,
    "g": 63,
    "b": 158
  },
  "hsl": {
    "h": 223.846,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40624,
    "c": 0.15981,
    "h": 264.7
  },
  "luminance": 0.06271
}

Semantic roles & 50–950 ramp

primary
#1C3F9E
secondary
#C4A552
accent
#BD3BED
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1C3F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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