#1C2D78#1C2D78

#1C2D78 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.5% C 0.130 H 268.5°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#1C2D78
RGBrgb(28, 45, 120)
HSLhsl(229, 62%, 29%)
HSVhsv(229, 77%, 47%)
CMYKcmyk(76.7%, 62.5%, 0%, 52.9%)
CIE-LABlab(21.87, 21.67, -44.85)
CIE-LCHlch(21.87, 49.81, 295.79°)
OKLaboklab(33.48% -0.0033 -0.1295)
OKLCHoklch(33.48% 0.13 268.5)
XYZxyz(4.8063, 3.4792, 18.1839)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2D78 #78671C
analogous
#1C5B78 #1C2D78 #391C78
triadic
#1C2D78 #781C2D #2D781C
tetradic
#1C2D78 #781C5B #78671C #1C7839
square
#1C2D78 #781C5B #78671C #1C7839
split-complementary
#1C2D78 #78391C #5B781C
monochromatic
#060919 #101A46 #1C2D78 #2840AA #3D58D2

Accessibility & contrast

On white

12.38
#1C2D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2D78
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2D78#FFFFFF#000000##FFFFFF
##1C2D781.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397A
Deuteranopia (green-blind)
#003077
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c2d78;
/* rgb */ color: rgb(28, 45, 120);
/* oklch */ color: oklch(33.5% 0.130 268.5);
Tailwind
colors: {
  custom: {
    50: '#6765a0',
    500: '#1c2d78',
    950: '#000000',
  },
}
SCSS
$custom: #1c2d78;
$custom-light: #6765a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2d78",
  "rgb": {
    "r": 28,
    "g": 45,
    "b": 120
  },
  "hsl": {
    "h": 228.913,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33478,
    "c": 0.12953,
    "h": 268.5
  },
  "luminance": 0.0348
}

Semantic roles & 50–950 ramp

primary
#1C2D78
secondary
#AC9944
accent
#C743E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050F
muted
#7A7A7E

Preview Lab

Preview with #1C2D78

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

Preview Lab → · Contrast checker → · Palette generator →

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