#1C2479#1C2479

#1C2479 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.142 H 271.2°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#1C2479
RGBrgb(28, 36, 121)
HSLhsl(235, 62%, 29%)
HSVhsv(235, 77%, 47%)
CMYKcmyk(76.9%, 70.2%, 0%, 52.5%)
CIE-LABlab(19.59, 28.27, -49.21)
CIE-LCHlch(19.59, 56.75, 299.87°)
OKLaboklab(31.83% 0.003 -0.1423)
OKLCHoklch(31.83% 0.142 271.2)
XYZxyz(4.5598, 2.8886, 18.4027)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2479 #79711C
analogous
#1C5379 #1C2479 #431C79
triadic
#1C2479 #791C24 #24791C
tetradic
#1C2479 #791C53 #79711C #1C7943
square
#1C2479 #791C53 #79711C #1C7943
split-complementary
#1C2479 #79431C #53791C
monochromatic
#060719 #101547 #1C2479 #2833AB #3D4AD2

Accessibility & contrast

On white

13.31
#1C2479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1C2479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2479
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2479#FFFFFF#000000##FFFFFF
##1C24791.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#002B77
Tritanopia (blue-blind)
#003B4B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c2479;
/* rgb */ color: rgb(28, 36, 121);
/* oklch */ color: oklch(31.8% 0.142 271.2);
Tailwind
colors: {
  custom: {
    50: '#685fa1',
    500: '#1c2479',
    950: '#000000',
  },
}
SCSS
$custom: #1c2479;
$custom-light: #685fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2479",
  "rgb": {
    "r": 28,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 234.839,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31834,
    "c": 0.14238,
    "h": 271.2
  },
  "luminance": 0.02889
}

Semantic roles & 50–950 ramp

primary
#1C2479
secondary
#ADA444
accent
#D742E5
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1C2479

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

Preview Lab → · Contrast checker → · Palette generator →

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