#1C3F98#1C3F98

#1C3F98 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.1% C 0.152 H 264.3°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#1C3F98
RGBrgb(28, 63, 152)
HSLhsl(223, 69%, 35%)
HSVhsv(223, 82%, 60%)
CMYKcmyk(81.6%, 58.6%, 0%, 40.4%)
CIE-LABlab(29.58, 21.93, -52.20)
CIE-LCHlch(29.58, 56.62, 292.78°)
OKLaboklab(40.09% -0.0151 -0.1508)
OKLCHoklch(40.09% 0.152 264.3)
XYZxyz(7.9219, 6.0680, 30.4534)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3F98 #98751C
analogous
#1C7D98 #1C3F98 #371C98
triadic
#1C3F98 #981C3F #3F981C
tetradic
#1C3F98 #981C7D #98751C #1C9837
square
#1C3F98 #981C7D #98751C #1C9837
split-complementary
#1C3F98 #98371C #7D981C
monochromatic
#091431 #122A64 #1C3F98 #2654CC #5078DF

Accessibility & contrast

On white

9.49
#1C3F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1C3F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3F98
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3F98#FFFFFF#000000##FFFFFF
##1C3F981.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#004096
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1c3f98;
/* rgb */ color: rgb(28, 63, 152);
/* oklch */ color: oklch(40.1% 0.152 264.3);
Tailwind
colors: {
  custom: {
    50: '#6e73b7',
    500: '#1c3f98',
    950: '#000000',
  },
}
SCSS
$custom: #1c3f98;
$custom-light: #6e73b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3f98",
  "rgb": {
    "r": 28,
    "g": 63,
    "b": 152
  },
  "hsl": {
    "h": 223.065,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40094,
    "c": 0.15156,
    "h": 264.3
  },
  "luminance": 0.06069
}

Semantic roles & 50–950 ramp

primary
#1C3F98
secondary
#C1A14E
accent
#BA3CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1C3F98

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

Preview Lab → · Contrast checker → · Palette generator →

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