#1C3B8A#1C3B8A

#1C3B8A is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.0% C 0.137 H 264.5°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#1C3B8A
RGBrgb(28, 59, 138)
HSLhsl(223, 66%, 33%)
HSVhsv(223, 80%, 54%)
CMYKcmyk(79.7%, 57.2%, 0%, 45.9%)
CIE-LABlab(27.32, 19.08, -47.28)
CIE-LCHlch(27.32, 50.98, 291.98°)
OKLaboklab(38.04% -0.0131 -0.1364)
OKLCHoklch(38.04% 0.137 264.5)
XYZxyz(6.6287, 5.2090, 24.6959)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3B8A #8A6B1C
analogous
#1C728A #1C3B8A #341C8A
triadic
#1C3B8A #8A1C3B #3B8A1C
tetradic
#1C3B8A #8A1C72 #8A6B1C #1C8A34
square
#1C3B8A #8A1C72 #8A6B1C #1C8A34
split-complementary
#1C3B8A #8A341C #728A1C
monochromatic
#070F24 #122557 #1C3B8A #2651BD #4770DA

Accessibility & contrast

On white

10.28
#1C3B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1C3B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3B8A
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3B8A#FFFFFF#000000##FFFFFF
##1C3B8A1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1c3b8a;
/* rgb */ color: rgb(28, 59, 138);
/* oklch */ color: oklch(38.0% 0.137 264.5);
Tailwind
colors: {
  custom: {
    50: '#6b70ad',
    500: '#1c3b8a',
    950: '#000000',
  },
}
SCSS
$custom: #1c3b8a;
$custom-light: #6b70ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3b8a",
  "rgb": {
    "r": 28,
    "g": 59,
    "b": 138
  },
  "hsl": {
    "h": 223.091,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38036,
    "c": 0.13703,
    "h": 264.5
  },
  "luminance": 0.0521
}

Semantic roles & 50–950 ramp

primary
#1C3B8A
secondary
#BB9A46
accent
#B93FE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1C3B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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