#1C345F#1C345F

#1C345F is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.0% C 0.082 H 261.1°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#1C345F
RGBrgb(28, 52, 95)
HSLhsl(219, 54%, 24%)
HSVhsv(219, 71%, 37%)
CMYKcmyk(70.5%, 45.3%, 0%, 62.7%)
CIE-LABlab(22.05, 6.54, -28.41)
CIE-LCHlch(22.05, 29.15, 282.97°)
OKLaboklab(33.01% -0.0127 -0.081)
OKLCHoklch(33.01% 0.082 261.1)
XYZxyz(3.7717, 3.5287, 11.3066)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C345F #5F471C
analogous
#1C565F #1C345F #251C5F
triadic
#1C345F #5F1C34 #345F1C
tetradic
#1C345F #5F1C56 #5F471C #1C5F25
square
#1C345F #5F1C56 #5F471C #1C5F25
split-complementary
#1C345F #5F251C #565F1C
monochromatic
#070D18 #0E1A30 #1C345F #2A4E8E #3868BE

Accessibility & contrast

On white

12.31
#1C345F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1C345F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C345F
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C345F#FFFFFF#000000##FFFFFF
##1C345F1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203861
Deuteranopia (green-blind)
#15325E
Tritanopia (blue-blind)
#003E44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c345f;
/* rgb */ color: rgb(28, 52, 95);
/* oklch */ color: oklch(33.0% 0.082 261.1);
Tailwind
colors: {
  custom: {
    50: '#606b8d',
    500: '#1c345f',
    950: '#000000',
  },
}
SCSS
$custom: #1c345f;
$custom-light: #606b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c345f",
  "rgb": {
    "r": 28,
    "g": 52,
    "b": 95
  },
  "hsl": {
    "h": 218.507,
    "s": 54.472,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33006,
    "c": 0.08201,
    "h": 261.1
  },
  "luminance": 0.03529
}

Semantic roles & 50–950 ramp

primary
#1C345F
secondary
#947742
accent
#A94ADE
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #1C345F

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

Preview Lab → · Contrast checker → · Palette generator →

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