#1C3F9B#1C3F9B

#1C3F9B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.156 H 264.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#1C3F9B
RGBrgb(28, 63, 155)
HSLhsl(223, 69%, 36%)
HSVhsv(223, 82%, 61%)
CMYKcmyk(81.9%, 59.4%, 0%, 39.2%)
CIE-LABlab(29.83, 23.12, -53.62)
CIE-LCHlch(29.83, 58.40, 293.32°)
OKLaboklab(40.36% -0.0149 -0.155)
OKLCHoklch(40.36% 0.156 264.5)
XYZxyz(8.1707, 6.1675, 31.7638)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3F9B #9B781C
analogous
#1C7E9B #1C3F9B #391C9B
triadic
#1C3F9B #9B1C3F #3F9B1C
tetradic
#1C3F9B #9B1C7E #9B781C #1C9B39
square
#1C3F9B #9B1C7E #9B781C #1C9B39
split-complementary
#1C3F9B #9B391C #7E9B1C
monochromatic
#091533 #132A67 #1C3F9B #2554CF #5279E0

Accessibility & contrast

On white

9.40
#1C3F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1C3F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3F9B
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3F9B#FFFFFF#000000##FFFFFF
##1C3F9B1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1c3f9b;
/* rgb */ color: rgb(28, 63, 155);
/* oklch */ color: oklch(40.4% 0.156 264.5);
Tailwind
colors: {
  custom: {
    50: '#6f73b9',
    500: '#1c3f9b',
    950: '#000000',
  },
}
SCSS
$custom: #1c3f9b;
$custom-light: #6f73b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3f9b",
  "rgb": {
    "r": 28,
    "g": 63,
    "b": 155
  },
  "hsl": {
    "h": 223.465,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40357,
    "c": 0.1557,
    "h": 264.5
  },
  "luminance": 0.06168
}

Semantic roles & 50–950 ramp

primary
#1C3F9B
secondary
#C3A350
accent
#BC3CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1C3F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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