#1C2E78#1C2E78

#1C2E78 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.7% C 0.128 H 268.2°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#1C2E78
RGBrgb(28, 46, 120)
HSLhsl(228, 62%, 29%)
HSVhsv(228, 77%, 47%)
CMYKcmyk(76.7%, 61.7%, 0%, 52.9%)
CIE-LABlab(22.15, 20.96, -44.39)
CIE-LCHlch(22.15, 49.09, 295.28°)
OKLaboklab(33.68% -0.004 -0.1281)
OKLCHoklch(33.68% 0.128 268.2)
XYZxyz(4.8449, 3.5564, 18.1968)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2E78 #78661C
analogous
#1C5C78 #1C2E78 #381C78
triadic
#1C2E78 #781C2E #2E781C
tetradic
#1C2E78 #781C5C #78661C #1C7838
square
#1C2E78 #781C5C #78661C #1C7838
split-complementary
#1C2E78 #78381C #5C781C
monochromatic
#060A19 #101B46 #1C2E78 #2841AA #3D5AD2

Accessibility & contrast

On white

12.27
#1C2E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2E78
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2E78#FFFFFF#000000##FFFFFF
##1C2E781.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397A
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c2e78;
/* rgb */ color: rgb(28, 46, 120);
/* oklch */ color: oklch(33.7% 0.128 268.2);
Tailwind
colors: {
  custom: {
    50: '#6766a0',
    500: '#1c2e78',
    950: '#000000',
  },
}
SCSS
$custom: #1c2e78;
$custom-light: #6766a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2e78",
  "rgb": {
    "r": 28,
    "g": 46,
    "b": 120
  },
  "hsl": {
    "h": 228.261,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33685,
    "c": 0.1282,
    "h": 268.2
  },
  "luminance": 0.03557
}

Semantic roles & 50–950 ramp

primary
#1C2E78
secondary
#AC9844
accent
#C543E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050F
muted
#7A7A7E

Preview Lab

Preview with #1C2E78

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

Preview Lab → · Contrast checker → · Palette generator →

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