#1C3EA5#1C3EA5

#1C3EA5 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.171 H 265.3°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#1C3EA5
RGBrgb(28, 62, 165)
HSLhsl(225, 71%, 38%)
HSVhsv(225, 83%, 65%)
CMYKcmyk(83%, 62.4%, 0%, 35.3%)
CIE-LABlab(30.42, 27.74, -58.71)
CIE-LCHlch(30.42, 64.94, 295.29°)
OKLaboklab(41.06% -0.0141 -0.1699)
OKLCHoklch(41.06% 0.171 265.3)
XYZxyz(8.9906, 6.4077, 36.3530)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3EA5 #A5831C
analogous
#1C83A5 #1C3EA5 #3E1CA5
triadic
#1C3EA5 #A51C3E #3EA51C
tetradic
#1C3EA5 #A51C83 #A5831C #1CA53E
square
#1C3EA5 #A51C83 #A5831C #1CA53E
split-complementary
#1C3EA5 #A53E1C #83A51C
monochromatic
#0A173C #132A71 #1C3EA5 #2552D9 #597BE3

Accessibility & contrast

On white

9.20
#1C3EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#1C3EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3EA5
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3EA5#FFFFFF#000000##FFFFFF
##1C3EA51.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1c3ea5;
/* rgb */ color: rgb(28, 62, 165);
/* oklch */ color: oklch(41.1% 0.171 265.3);
Tailwind
colors: {
  custom: {
    50: '#7272c1',
    500: '#1c3ea5',
    950: '#000000',
  },
}
SCSS
$custom: #1c3ea5;
$custom-light: #7272c1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3ea5",
  "rgb": {
    "r": 28,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 225.109,
    "s": 70.984,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41061,
    "c": 0.17051,
    "h": 265.3
  },
  "luminance": 0.06409
}

Semantic roles & 50–950 ramp

primary
#1C3EA5
secondary
#C6AB56
accent
#C13AEE
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1C3EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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