#1C3E97#1C3E97

#1C3E97 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.151 H 264.5°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#1C3E97
RGBrgb(28, 62, 151)
HSLhsl(223, 69%, 35%)
HSVhsv(223, 81%, 59%)
CMYKcmyk(81.5%, 58.9%, 0%, 40.8%)
CIE-LABlab(29.22, 22.21, -52.18)
CIE-LCHlch(29.22, 56.71, 293.06°)
OKLaboklab(39.8% -0.0145 -0.1507)
OKLCHoklch(39.8% 0.151 264.5)
XYZxyz(7.7854, 5.9256, 30.0056)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3E97 #97751C
analogous
#1C7B97 #1C3E97 #381C97
triadic
#1C3E97 #971C3E #3E971C
tetradic
#1C3E97 #971C7B #97751C #1C9738
square
#1C3E97 #971C7B #97751C #1C9738
split-complementary
#1C3E97 #97381C #7B971C
monochromatic
#091430 #122963 #1C3E97 #2653CB #4F77DE

Accessibility & contrast

On white

9.61
#1C3E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1C3E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3E97
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3E97#FFFFFF#000000##FFFFFF
##1C3E971.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1c3e97;
/* rgb */ color: rgb(28, 62, 151);
/* oklch */ color: oklch(39.8% 0.151 264.5);
Tailwind
colors: {
  custom: {
    50: '#6e72b6',
    500: '#1c3e97',
    950: '#000000',
  },
}
SCSS
$custom: #1c3e97;
$custom-light: #6e72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3e97",
  "rgb": {
    "r": 28,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 223.415,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39798,
    "c": 0.15144,
    "h": 264.5
  },
  "luminance": 0.05926
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C3E97

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

Preview Lab → · Contrast checker → · Palette generator →

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