#1C3F9D#1C3F9D

#1C3F9D is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.158 H 264.6°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#1C3F9D
RGBrgb(28, 63, 157)
HSLhsl(224, 70%, 36%)
HSVhsv(224, 82%, 62%)
CMYKcmyk(82.2%, 59.9%, 0%, 38.4%)
CIE-LABlab(30.00, 23.92, -54.57)
CIE-LCHlch(30.00, 59.58, 293.67°)
OKLaboklab(40.53% -0.0149 -0.1577)
OKLCHoklch(40.53% 0.158 264.6)
XYZxyz(8.3400, 6.2352, 32.6557)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3F9D #9D7A1C
analogous
#1C809D #1C3F9D #3A1C9D
triadic
#1C3F9D #9D1C3F #3F9D1C
tetradic
#1C3F9D #9D1C80 #9D7A1C #1C9D3A
square
#1C3F9D #9D1C80 #9D7A1C #1C9D3A
split-complementary
#1C3F9D #9D3A1C #809D1C
monochromatic
#091535 #132A69 #1C3F9D #2554D1 #5379E0

Accessibility & contrast

On white

9.34
#1C3F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C3F9D
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3F9D#FFFFFF#000000##FFFFFF
##1C3F9D1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1c3f9d;
/* rgb */ color: rgb(28, 63, 157);
/* oklch */ color: oklch(40.5% 0.158 264.6);
Tailwind
colors: {
  custom: {
    50: '#6f73bb',
    500: '#1c3f9d',
    950: '#000000',
  },
}
SCSS
$custom: #1c3f9d;
$custom-light: #6f73bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3f9d",
  "rgb": {
    "r": 28,
    "g": 63,
    "b": 157
  },
  "hsl": {
    "h": 223.721,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40535,
    "c": 0.15845,
    "h": 264.6
  },
  "luminance": 0.06236
}

Semantic roles & 50–950 ramp

primary
#1C3F9D
secondary
#C3A451
accent
#BC3BED
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1C3F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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