#1C3D98#1C3D98

#1C3D98 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.154 H 264.9°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#1C3D98
RGBrgb(28, 61, 152)
HSLhsl(224, 69%, 35%)
HSVhsv(224, 82%, 60%)
CMYKcmyk(81.6%, 59.9%, 0%, 40.4%)
CIE-LABlab(29.03, 23.30, -53.10)
CIE-LCHlch(29.03, 57.99, 293.69°)
OKLaboklab(39.68% -0.0138 -0.1535)
OKLCHoklch(39.68% 0.154 264.9)
XYZxyz(7.8131, 5.8504, 30.4171)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3D98 #98771C
analogous
#1C7B98 #1C3D98 #391C98
triadic
#1C3D98 #981C3D #3D981C
tetradic
#1C3D98 #981C7B #98771C #1C9839
square
#1C3D98 #981C7B #98771C #1C9839
split-complementary
#1C3D98 #98391C #7B981C
monochromatic
#091431 #122864 #1C3D98 #2652CC #5076DF

Accessibility & contrast

On white

9.68
#1C3D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1C3D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3D98
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3D98#FFFFFF#000000##FFFFFF
##1C3D981.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#003F96
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1c3d98;
/* rgb */ color: rgb(28, 61, 152);
/* oklch */ color: oklch(39.7% 0.154 264.9);
Tailwind
colors: {
  custom: {
    50: '#6e72b7',
    500: '#1c3d98',
    950: '#000000',
  },
}
SCSS
$custom: #1c3d98;
$custom-light: #6e72b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3d98",
  "rgb": {
    "r": 28,
    "g": 61,
    "b": 152
  },
  "hsl": {
    "h": 224.032,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3968,
    "c": 0.1541,
    "h": 264.9
  },
  "luminance": 0.05851
}

Semantic roles & 50–950 ramp

primary
#1C3D98
secondary
#C1A34E
accent
#BD3CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1C3D98

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

Preview Lab → · Contrast checker → · Palette generator →

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