#1C3F96#1C3F96

#1C3F96 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.149 H 264.1°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#1C3F96
RGBrgb(28, 63, 150)
HSLhsl(223, 69%, 35%)
HSVhsv(223, 81%, 59%)
CMYKcmyk(81.3%, 58%, 0%, 41.2%)
CIE-LABlab(29.42, 21.13, -51.25)
CIE-LCHlch(29.42, 55.43, 292.41°)
OKLaboklab(39.92% -0.0152 -0.148)
OKLCHoklch(39.92% 0.149 264.1)
XYZxyz(7.7595, 6.0030, 29.5980)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3F96 #96731C
analogous
#1C7C96 #1C3F96 #361C96
triadic
#1C3F96 #961C3F #3F961C
tetradic
#1C3F96 #961C7C #96731C #1C9636
square
#1C3F96 #961C7C #96731C #1C9636
split-complementary
#1C3F96 #96361C #7C961C
monochromatic
#09142F #122962 #1C3F96 #2655CA #4E78DE

Accessibility & contrast

On white

9.54
#1C3F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#1C3F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3F96
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3F96#FFFFFF#000000##FFFFFF
##1C3F961.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1c3f96;
/* rgb */ color: rgb(28, 63, 150);
/* oklch */ color: oklch(39.9% 0.149 264.1);
Tailwind
colors: {
  custom: {
    50: '#6e73b6',
    500: '#1c3f96',
    950: '#000000',
  },
}
SCSS
$custom: #1c3f96;
$custom-light: #6e73b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3f96",
  "rgb": {
    "r": 28,
    "g": 63,
    "b": 150
  },
  "hsl": {
    "h": 222.787,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3992,
    "c": 0.14878,
    "h": 264.1
  },
  "luminance": 0.06004
}

Semantic roles & 50–950 ramp

primary
#1C3F96
secondary
#C19F4D
accent
#B93CEB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1C3F96

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

Preview Lab → · Contrast checker → · Palette generator →

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