#1C3E8B#1C3E8B

#1C3E8B is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.135 H 263.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#1C3E8B
RGBrgb(28, 62, 139)
HSLhsl(222, 66%, 33%)
HSVhsv(222, 80%, 55%)
CMYKcmyk(79.9%, 55.4%, 0%, 45.5%)
CIE-LABlab(28.26, 17.39, -46.37)
CIE-LCHlch(28.26, 49.52, 290.56°)
OKLaboklab(38.77% -0.0153 -0.1337)
OKLCHoklch(38.77% 0.135 263.5)
XYZxyz(6.8601, 5.5554, 25.1318)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3E8B #8B691C
analogous
#1C758B #1C3E8B #321C8B
triadic
#1C3E8B #8B1C3E #3E8B1C
tetradic
#1C3E8B #8B1C75 #8B691C #1C8B32
square
#1C3E8B #8B1C75 #8B691C #1C8B32
split-complementary
#1C3E8B #8B321C #758B1C
monochromatic
#071125 #122758 #1C3E8B #2655BE #4774DA

Accessibility & contrast

On white

9.95
#1C3E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1C3E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3E8B
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3E8B#FFFFFF#000000##FFFFFF
##1C3E8B1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1c3e8b;
/* rgb */ color: rgb(28, 62, 139);
/* oklch */ color: oklch(38.8% 0.135 263.5);
Tailwind
colors: {
  custom: {
    50: '#6b72ad',
    500: '#1c3e8b',
    950: '#000000',
  },
}
SCSS
$custom: #1c3e8b;
$custom-light: #6b72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3e8b",
  "rgb": {
    "r": 28,
    "g": 62,
    "b": 139
  },
  "hsl": {
    "h": 221.622,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38771,
    "c": 0.13456,
    "h": 263.5
  },
  "luminance": 0.05556
}

Semantic roles & 50–950 ramp

primary
#1C3E8B
secondary
#BC9847
accent
#B53EE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1C3E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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