#1C345E#1C345E

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

Color values

HEX#1C345E
RGBrgb(28, 52, 94)
HSLhsl(218, 54%, 24%)
HSVhsv(218, 70%, 37%)
CMYKcmyk(70.2%, 44.7%, 0%, 63.1%)
CIE-LABlab(21.98, 6.14, -27.85)
CIE-LCHlch(21.98, 28.52, 282.43°)
OKLaboklab(32.93% -0.0129 -0.0794)
OKLCHoklch(32.93% 0.08 260.8)
XYZxyz(3.7265, 3.5107, 11.0687)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C345E #5E461C
analogous
#1C555E #1C345E #251C5E
triadic
#1C345E #5E1C34 #345E1C
tetradic
#1C345E #5E1C55 #5E461C #1C5E25
square
#1C345E #5E1C55 #5E461C #1C5E25
split-complementary
#1C345E #5E251C #555E1C
monochromatic
#070D18 #0E1A2F #1C345E #2A4E8D #3868BC

Accessibility & contrast

On white

12.34
#1C345E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C345E
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C345E#FFFFFF#000000##FFFFFF
##1C345E1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213860
Deuteranopia (green-blind)
#17325D
Tritanopia (blue-blind)
#003E44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c345e;
/* rgb */ color: rgb(28, 52, 94);
/* oklch */ color: oklch(32.9% 0.080 260.8);
Tailwind
colors: {
  custom: {
    50: '#606b8c',
    500: '#1c345e',
    950: '#000000',
  },
}
SCSS
$custom: #1c345e;
$custom-light: #606b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c345e",
  "rgb": {
    "r": 28,
    "g": 52,
    "b": 94
  },
  "hsl": {
    "h": 218.182,
    "s": 54.098,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32934,
    "c": 0.08045,
    "h": 260.8
  },
  "luminance": 0.03511
}

Semantic roles & 50–950 ramp

primary
#1C345E
secondary
#937642
accent
#A84ADD
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #1C345E

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

Preview Lab → · Contrast checker → · Palette generator →

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