#1C3F99#1C3F99

#1C3F99 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.153 H 264.4°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#1C3F99
RGBrgb(28, 63, 153)
HSLhsl(223, 69%, 35%)
HSVhsv(223, 82%, 60%)
CMYKcmyk(81.7%, 58.8%, 0%, 40%)
CIE-LABlab(29.67, 22.33, -52.68)
CIE-LCHlch(29.67, 57.21, 292.97°)
OKLaboklab(40.18% -0.015 -0.1522)
OKLCHoklch(40.18% 0.153 264.4)
XYZxyz(8.0041, 6.1008, 30.8865)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3F99 #99761C
analogous
#1C7D99 #1C3F99 #371C99
triadic
#1C3F99 #991C3F #3F991C
tetradic
#1C3F99 #991C7D #99761C #1C9937
square
#1C3F99 #991C7D #99761C #1C9937
split-complementary
#1C3F99 #99371C #7D991C
monochromatic
#091432 #132A65 #1C3F99 #2554CD #5078DF

Accessibility & contrast

On white

9.46
#1C3F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1C3F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3F99
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3F99#FFFFFF#000000##FFFFFF
##1C3F991.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1c3f99;
/* rgb */ color: rgb(28, 63, 153);
/* oklch */ color: oklch(40.2% 0.153 264.4);
Tailwind
colors: {
  custom: {
    50: '#6e73b8',
    500: '#1c3f99',
    950: '#000000',
  },
}
SCSS
$custom: #1c3f99;
$custom-light: #6e73b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3f99",
  "rgb": {
    "r": 28,
    "g": 63,
    "b": 153
  },
  "hsl": {
    "h": 223.2,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40181,
    "c": 0.15294,
    "h": 264.4
  },
  "luminance": 0.06102
}

Semantic roles & 50–950 ramp

primary
#1C3F99
secondary
#C2A24F
accent
#BB3CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1C3F99

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

Preview Lab → · Contrast checker → · Palette generator →

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