#1C2D79#1C2D79

#1C2D79 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.131 H 268.6°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#1C2D79
RGBrgb(28, 45, 121)
HSLhsl(229, 62%, 29%)
HSVhsv(229, 77%, 47%)
CMYKcmyk(76.9%, 62.8%, 0%, 52.5%)
CIE-LABlab(21.96, 22.07, -45.34)
CIE-LCHlch(21.96, 50.42, 295.95°)
OKLaboklab(33.57% -0.0033 -0.1309)
OKLCHoklch(33.57% 0.131 268.6)
XYZxyz(4.8673, 3.5036, 18.5052)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2D79 #79681C
analogous
#1C5C79 #1C2D79 #3A1C79
triadic
#1C2D79 #791C2D #2D791C
tetradic
#1C2D79 #791C5C #79681C #1C793A
square
#1C2D79 #791C5C #79681C #1C793A
split-complementary
#1C2D79 #793A1C #5C791C
monochromatic
#060919 #101B47 #1C2D79 #283FAB #3D58D2

Accessibility & contrast

On white

12.35
#1C2D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2D79
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2D79#FFFFFF#000000##FFFFFF
##1C2D791.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003078
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c2d79;
/* rgb */ color: rgb(28, 45, 121);
/* oklch */ color: oklch(33.6% 0.131 268.6);
Tailwind
colors: {
  custom: {
    50: '#6765a0',
    500: '#1c2d79',
    950: '#000000',
  },
}
SCSS
$custom: #1c2d79;
$custom-light: #6765a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2d79",
  "rgb": {
    "r": 28,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 229.032,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33572,
    "c": 0.13097,
    "h": 268.6
  },
  "luminance": 0.03504
}

Semantic roles & 50–950 ramp

primary
#1C2D79
secondary
#AD9A44
accent
#C842E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050F
muted
#7A7A7E

Preview Lab

Preview with #1C2D79

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

Preview Lab → · Contrast checker → · Palette generator →

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