#1C3FA5#1C3FA5

#1C3FA5 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.169 H 265.0°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#1C3FA5
RGBrgb(28, 63, 165)
HSLhsl(225, 71%, 38%)
HSVhsv(225, 83%, 65%)
CMYKcmyk(83%, 61.8%, 0%, 35.3%)
CIE-LABlab(30.68, 27.06, -58.28)
CIE-LCHlch(30.68, 64.26, 294.91°)
OKLaboklab(41.26% -0.0147 -0.1686)
OKLCHoklch(41.26% 0.169 265)
XYZxyz(9.0455, 6.5174, 36.3713)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3FA5 #A5821C
analogous
#1C83A5 #1C3FA5 #3E1CA5
triadic
#1C3FA5 #A51C3F #3FA51C
tetradic
#1C3FA5 #A51C83 #A5821C #1CA53E
square
#1C3FA5 #A51C83 #A5821C #1CA53E
split-complementary
#1C3FA5 #A53E1C #83A51C
monochromatic
#0A173C #132B71 #1C3FA5 #2553D9 #597CE3

Accessibility & contrast

On white

9.12
#1C3FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1C3FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3FA5
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3FA5#FFFFFF#000000##FFFFFF
##1C3FA51.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1c3fa5;
/* rgb */ color: rgb(28, 63, 165);
/* oklch */ color: oklch(41.3% 0.169 265.0);
Tailwind
colors: {
  custom: {
    50: '#7273c1',
    500: '#1c3fa5',
    950: '#000000',
  },
}
SCSS
$custom: #1c3fa5;
$custom-light: #7273c1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3fa5",
  "rgb": {
    "r": 28,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 224.672,
    "s": 70.984,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41257,
    "c": 0.16929,
    "h": 265
  },
  "luminance": 0.06519
}

Semantic roles & 50–950 ramp

primary
#1C3FA5
secondary
#C6AA56
accent
#C03AEE
background
#F7F6FC
surface
#EDECF8
border
#C8C7D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1C3FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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