#1C3F9F#1C3F9F

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

Color values

HEX#1C3F9F
RGBrgb(28, 63, 159)
HSLhsl(224, 70%, 37%)
HSVhsv(224, 82%, 62%)
CMYKcmyk(82.4%, 60.4%, 0%, 37.6%)
CIE-LABlab(30.17, 24.71, -55.50)
CIE-LCHlch(30.17, 60.75, 294.00°)
OKLaboklab(40.71% -0.0148 -0.1605)
OKLCHoklch(40.71% 0.161 264.7)
XYZxyz(8.5122, 6.3041, 33.5623)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3F9F #9F7C1C
analogous
#1C819F #1C3F9F #3A1C9F
triadic
#1C3F9F #9F1C3F #3F9F1C
tetradic
#1C3F9F #9F1C81 #9F7C1C #1C9F3A
square
#1C3F9F #9F1C81 #9F7C1C #1C9F3A
split-complementary
#1C3F9F #9F3A1C #819F1C
monochromatic
#0A1637 #132A6B #1C3F9F #2554D3 #547AE1

Accessibility & contrast

On white

9.29
#1C3F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1C3F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3F9F
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3F9F#FFFFFF#000000##FFFFFF
##1C3F9F1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1c3f9f;
/* rgb */ color: rgb(28, 63, 159);
/* oklch */ color: oklch(40.7% 0.161 264.7);
Tailwind
colors: {
  custom: {
    50: '#7073bc',
    500: '#1c3f9f',
    950: '#000000',
  },
}
SCSS
$custom: #1c3f9f;
$custom-light: #7073bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3f9f",
  "rgb": {
    "r": 28,
    "g": 63,
    "b": 159
  },
  "hsl": {
    "h": 223.969,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40713,
    "c": 0.16118,
    "h": 264.7
  },
  "luminance": 0.06305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C3F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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