#1C3D8E#1C3D8E

#1C3D8E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.8% C 0.140 H 264.1°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#1C3D8E
RGBrgb(28, 61, 142)
HSLhsl(223, 67%, 33%)
HSVhsv(223, 80%, 56%)
CMYKcmyk(80.3%, 57%, 0%, 44.3%)
CIE-LABlab(28.21, 19.30, -48.30)
CIE-LCHlch(28.21, 52.02, 291.78°)
OKLaboklab(38.81% -0.0143 -0.1394)
OKLCHoklch(38.81% 0.14 264.1)
XYZxyz(7.0284, 5.5365, 26.2842)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3D8E #8E6D1C
analogous
#1C768E #1C3D8E #341C8E
triadic
#1C3D8E #8E1C3D #3D8E1C
tetradic
#1C3D8E #8E1C76 #8E6D1C #1C8E34
square
#1C3D8E #8E1C76 #8E6D1C #1C8E34
split-complementary
#1C3D8E #8E341C #768E1C
monochromatic
#081128 #12275B #1C3D8E #2653C1 #4973DB

Accessibility & contrast

On white

9.96
#1C3D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C3D8E
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3D8E#FFFFFF#000000##FFFFFF
##1C3D8E1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1c3d8e;
/* rgb */ color: rgb(28, 61, 142);
/* oklch */ color: oklch(38.8% 0.140 264.1);
Tailwind
colors: {
  custom: {
    50: '#6c72b0',
    500: '#1c3d8e',
    950: '#000000',
  },
}
SCSS
$custom: #1c3d8e;
$custom-light: #6c72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3d8e",
  "rgb": {
    "r": 28,
    "g": 61,
    "b": 142
  },
  "hsl": {
    "h": 222.632,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38807,
    "c": 0.14012,
    "h": 264.1
  },
  "luminance": 0.05537
}

Semantic roles & 50–950 ramp

primary
#1C3D8E
secondary
#BD9B49
accent
#B83EEA
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1C3D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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