#1C345C#1C345C

#1C345C is a dark, moderate blue. Relative luminance 0.035; OKLCH L 32.8% C 0.077 H 260.1°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#1C345C
RGBrgb(28, 52, 92)
HSLhsl(218, 53%, 24%)
HSVhsv(218, 70%, 36%)
CMYKcmyk(69.6%, 43.5%, 0%, 63.9%)
CIE-LABlab(21.85, 5.34, -26.75)
CIE-LCHlch(21.85, 27.27, 281.29°)
OKLaboklab(32.79% -0.0134 -0.0762)
OKLCHoklch(32.79% 0.077 260.1)
XYZxyz(3.6380, 3.4752, 10.6022)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C345C #5C441C
analogous
#1C545C #1C345C #241C5C
triadic
#1C345C #5C1C34 #345C1C
tetradic
#1C345C #5C1C54 #5C441C #1C5C24
square
#1C345C #5C1C54 #5C441C #1C5C24
split-complementary
#1C345C #5C241C #545C1C
monochromatic
#070D17 #0E192D #1C345C #2A4F8B #3969BA

Accessibility & contrast

On white

12.39
#1C345C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C345C
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C345C#FFFFFF#000000##FFFFFF
##1C345C1.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22385E
Deuteranopia (green-blind)
#18325B
Tritanopia (blue-blind)
#003D43
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c345c;
/* rgb */ color: rgb(28, 52, 92);
/* oklch */ color: oklch(32.8% 0.077 260.1);
Tailwind
colors: {
  custom: {
    50: '#606b8a',
    500: '#1c345c',
    950: '#000000',
  },
}
SCSS
$custom: #1c345c;
$custom-light: #606b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c345c",
  "rgb": {
    "r": 28,
    "g": 52,
    "b": 92
  },
  "hsl": {
    "h": 217.5,
    "s": 53.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32794,
    "c": 0.07732,
    "h": 260.1
  },
  "luminance": 0.03476
}

Semantic roles & 50–950 ramp

primary
#1C345C
secondary
#917442
accent
#A64BDD
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #1C345C

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

Preview Lab → · Contrast checker → · Palette generator →

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