#1C2779#1C2779

#1C2779 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.139 H 270.4°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#1C2779
RGBrgb(28, 39, 121)
HSLhsl(233, 62%, 29%)
HSVhsv(233, 77%, 47%)
CMYKcmyk(76.9%, 67.8%, 0%, 52.5%)
CIE-LABlab(20.35, 26.23, -47.96)
CIE-LCHlch(20.35, 54.67, 298.68°)
OKLaboklab(32.39% 0.001 -0.1387)
OKLCHoklch(32.39% 0.139 270.4)
XYZxyz(4.6544, 3.0779, 18.4342)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2779 #796E1C
analogous
#1C5679 #1C2779 #401C79
triadic
#1C2779 #791C27 #27791C
tetradic
#1C2779 #791C56 #796E1C #1C7940
square
#1C2779 #791C56 #796E1C #1C7940
split-complementary
#1C2779 #79401C #56791C
monochromatic
#060819 #101747 #1C2779 #2837AB #3D4FD2

Accessibility & contrast

On white

13.00
#1C2779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1C2779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2779
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2779#FFFFFF#000000##FFFFFF
##1C27791.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#002D77
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1c2779;
/* rgb */ color: rgb(28, 39, 121);
/* oklch */ color: oklch(32.4% 0.139 270.4);
Tailwind
colors: {
  custom: {
    50: '#6861a1',
    500: '#1c2779',
    950: '#000000',
  },
}
SCSS
$custom: #1c2779;
$custom-light: #6861a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2779",
  "rgb": {
    "r": 28,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 232.903,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32389,
    "c": 0.13869,
    "h": 270.4
  },
  "luminance": 0.03078
}

Semantic roles & 50–950 ramp

primary
#1C2779
secondary
#ADA144
accent
#D242E5
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1C2779

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

Preview Lab → · Contrast checker → · Palette generator →

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