#1C345D#1C345D

#1C345D is a dark, moderate blue. Relative luminance 0.035; OKLCH L 32.9% C 0.079 H 260.4°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#1C345D
RGBrgb(28, 52, 93)
HSLhsl(218, 54%, 24%)
HSVhsv(218, 70%, 36%)
CMYKcmyk(69.9%, 44.1%, 0%, 63.5%)
CIE-LABlab(21.92, 5.74, -27.30)
CIE-LCHlch(21.92, 27.90, 281.87°)
OKLaboklab(32.86% -0.0131 -0.0778)
OKLCHoklch(32.86% 0.079 260.4)
XYZxyz(3.6820, 3.4928, 10.8339)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C345D #5D451C
analogous
#1C545D #1C345D #241C5D
triadic
#1C345D #5D1C34 #345D1C
tetradic
#1C345D #5D1C54 #5D451C #1C5D24
square
#1C345D #5D1C54 #5D451C #1C5D24
split-complementary
#1C345D #5D241C #545D1C
monochromatic
#070D18 #0E1A2E #1C345D #2A4E8C #3869BB

Accessibility & contrast

On white

12.36
#1C345D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1C345D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C345D
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C345D#FFFFFF#000000##FFFFFF
##1C345D1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21385F
Deuteranopia (green-blind)
#18325C
Tritanopia (blue-blind)
#003D44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c345d;
/* rgb */ color: rgb(28, 52, 93);
/* oklch */ color: oklch(32.9% 0.079 260.4);
Tailwind
colors: {
  custom: {
    50: '#606b8b',
    500: '#1c345d',
    950: '#000000',
  },
}
SCSS
$custom: #1c345d;
$custom-light: #606b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c345d",
  "rgb": {
    "r": 28,
    "g": 52,
    "b": 93
  },
  "hsl": {
    "h": 217.846,
    "s": 53.719,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32864,
    "c": 0.07889,
    "h": 260.4
  },
  "luminance": 0.03493
}

Semantic roles & 50–950 ramp

primary
#1C345D
secondary
#927542
accent
#A74BDD
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #1C345D

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

Preview Lab → · Contrast checker → · Palette generator →

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