#1C2D77#1C2D77

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

Color values

HEX#1C2D77
RGBrgb(28, 45, 119)
HSLhsl(229, 62%, 29%)
HSVhsv(229, 76%, 47%)
CMYKcmyk(76.5%, 62.2%, 0%, 53.3%)
CIE-LABlab(21.78, 21.27, -44.35)
CIE-LCHlch(21.78, 49.19, 295.62°)
OKLaboklab(33.39% -0.0033 -0.128)
OKLCHoklch(33.39% 0.128 268.5)
XYZxyz(4.7459, 3.4551, 17.8660)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2D77 #77661C
analogous
#1C5B77 #1C2D77 #391C77
triadic
#1C2D77 #771C2D #2D771C
tetradic
#1C2D77 #771C5B #77661C #1C7739
square
#1C2D77 #771C5B #77661C #1C7739
split-complementary
#1C2D77 #77391C #5B771C
monochromatic
#060919 #101A45 #1C2D77 #2840A9 #3C58D1

Accessibility & contrast

On white

12.42
#1C2D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1C2D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2D77
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2D77#FFFFFF#000000##FFFFFF
##1C2D771.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003979
Deuteranopia (green-blind)
#003076
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c2d77;
/* rgb */ color: rgb(28, 45, 119);
/* oklch */ color: oklch(33.4% 0.128 268.5);
Tailwind
colors: {
  custom: {
    50: '#67659f',
    500: '#1c2d77',
    950: '#000000',
  },
}
SCSS
$custom: #1c2d77;
$custom-light: #67659f;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2d77",
  "rgb": {
    "r": 28,
    "g": 45,
    "b": 119
  },
  "hsl": {
    "h": 228.791,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33386,
    "c": 0.12808,
    "h": 268.5
  },
  "luminance": 0.03456
}

Semantic roles & 50–950 ramp

primary
#1C2D77
secondary
#AB9844
accent
#C743E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1C2D77

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

Preview Lab → · Contrast checker → · Palette generator →

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