#1C2A79#1C2A79

#1C2A79 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.135 H 269.5°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#1C2A79
RGBrgb(28, 42, 121)
HSLhsl(231, 62%, 29%)
HSVhsv(231, 77%, 47%)
CMYKcmyk(76.9%, 65.3%, 0%, 52.5%)
CIE-LABlab(21.14, 24.16, -46.67)
CIE-LCHlch(21.14, 52.55, 297.37°)
OKLaboklab(32.97% -0.0011 -0.1349)
OKLCHoklch(32.97% 0.135 269.5)
XYZxyz(4.7569, 3.2828, 18.4684)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2A79 #796B1C
analogous
#1C5979 #1C2A79 #3D1C79
triadic
#1C2A79 #791C2A #2A791C
tetradic
#1C2A79 #791C59 #796B1C #1C793D
square
#1C2A79 #791C59 #796B1C #1C793D
split-complementary
#1C2A79 #793D1C #59791C
monochromatic
#060919 #101947 #1C2A79 #283BAB #3D54D2

Accessibility & contrast

On white

12.68
#1C2A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1C2A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2A79
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2A79#FFFFFF#000000##FFFFFF
##1C2A791.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1c2a79;
/* rgb */ color: rgb(28, 42, 121);
/* oklch */ color: oklch(33.0% 0.135 269.5);
Tailwind
colors: {
  custom: {
    50: '#6863a0',
    500: '#1c2a79',
    950: '#000000',
  },
}
SCSS
$custom: #1c2a79;
$custom-light: #6863a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2a79",
  "rgb": {
    "r": 28,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 230.968,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32969,
    "c": 0.13487,
    "h": 269.5
  },
  "luminance": 0.03283
}

Semantic roles & 50–950 ramp

primary
#1C2A79
secondary
#AD9D44
accent
#CD42E5
background
#F6F5FA
surface
#EBEAF3
border
#C6C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1C2A79

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

Preview Lab → · Contrast checker → · Palette generator →

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