#1C2579#1C2579

#1C2579 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.141 H 270.9°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#1C2579
RGBrgb(28, 37, 121)
HSLhsl(234, 62%, 29%)
HSVhsv(234, 77%, 47%)
CMYKcmyk(76.9%, 69.4%, 0%, 52.5%)
CIE-LABlab(19.84, 27.59, -48.80)
CIE-LCHlch(19.84, 56.06, 299.48°)
OKLaboklab(32.02% 0.0023 -0.1411)
OKLCHoklch(32.02% 0.141 270.9)
XYZxyz(4.5905, 2.9500, 18.4129)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2579 #79701C
analogous
#1C5479 #1C2579 #421C79
triadic
#1C2579 #791C25 #25791C
tetradic
#1C2579 #791C54 #79701C #1C7942
square
#1C2579 #791C54 #79701C #1C7942
split-complementary
#1C2579 #79421C #54791C
monochromatic
#060819 #101647 #1C2579 #2834AB #3D4CD2

Accessibility & contrast

On white

13.21
#1C2579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1C2579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2579
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2579#FFFFFF#000000##FFFFFF
##1C25791.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#002C77
Tritanopia (blue-blind)
#003C4B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1c2579;
/* rgb */ color: rgb(28, 37, 121);
/* oklch */ color: oklch(32.0% 0.141 270.9);
Tailwind
colors: {
  custom: {
    50: '#685fa1',
    500: '#1c2579',
    950: '#000000',
  },
}
SCSS
$custom: #1c2579;
$custom-light: #685fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2579",
  "rgb": {
    "r": 28,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 234.194,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32016,
    "c": 0.14117,
    "h": 270.9
  },
  "luminance": 0.0295
}

Semantic roles & 50–950 ramp

primary
#1C2579
secondary
#ADA344
accent
#D642E5
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1C2579

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

Preview Lab → · Contrast checker → · Palette generator →

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