#1C3FA8#1C3FA8

#1C3FA8 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.173 H 265.2°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#1C3FA8
RGBrgb(28, 63, 168)
HSLhsl(225, 71%, 38%)
HSVhsv(225, 83%, 66%)
CMYKcmyk(83.3%, 62.5%, 0%, 34.1%)
CIE-LABlab(30.94, 28.23, -59.66)
CIE-LCHlch(30.94, 66.00, 295.33°)
OKLaboklab(41.53% -0.0146 -0.1727)
OKLCHoklch(41.53% 0.173 265.2)
XYZxyz(9.3218, 6.6279, 37.8262)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3FA8 #A8851C
analogous
#1C85A8 #1C3FA8 #3F1CA8
triadic
#1C3FA8 #A81C3F #3FA81C
tetradic
#1C3FA8 #A81C85 #A8851C #1CA83F
square
#1C3FA8 #A81C85 #A8851C #1CA83F
split-complementary
#1C3FA8 #A83F1C #85A81C
monochromatic
#0B183F #132B74 #1C3FA8 #2653DB #5B7DE4

Accessibility & contrast

On white

9.03
#1C3FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1C3FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3FA8
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3FA8#FFFFFF#000000##FFFFFF
##1C3FA81.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AB
Deuteranopia (green-blind)
#0042A6
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1c3fa8;
/* rgb */ color: rgb(28, 63, 168);
/* oklch */ color: oklch(41.5% 0.173 265.2);
Tailwind
colors: {
  custom: {
    50: '#7273c3',
    500: '#1c3fa8',
    950: '#000000',
  },
}
SCSS
$custom: #1c3fa8;
$custom-light: #7273c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3fa8",
  "rgb": {
    "r": 28,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 225,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41533,
    "c": 0.17329,
    "h": 265.2
  },
  "luminance": 0.06629
}

Semantic roles & 50–950 ramp

primary
#1C3FA8
secondary
#C7AC58
accent
#C13AEE
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090813
muted
#7B7B82

Preview Lab

Preview with #1C3FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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