#1C2679#1C2679

#1C2679 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.140 H 270.7°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#1C2679
RGBrgb(28, 38, 121)
HSLhsl(234, 62%, 29%)
HSVhsv(234, 77%, 47%)
CMYKcmyk(76.9%, 68.6%, 0%, 52.5%)
CIE-LABlab(20.10, 26.91, -48.38)
CIE-LCHlch(20.10, 55.37, 299.09°)
OKLaboklab(32.2% 0.0017 -0.1399)
OKLCHoklch(32.2% 0.14 270.7)
XYZxyz(4.6220, 3.0131, 18.4234)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2679 #796F1C
analogous
#1C5579 #1C2679 #411C79
triadic
#1C2679 #791C26 #26791C
tetradic
#1C2679 #791C55 #796F1C #1C7941
square
#1C2679 #791C55 #796F1C #1C7941
split-complementary
#1C2679 #79411C #55791C
monochromatic
#060819 #101647 #1C2679 #2836AB #3D4DD2

Accessibility & contrast

On white

13.10
#1C2679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1C2679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2679
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2679#FFFFFF#000000##FFFFFF
##1C26791.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#002C77
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1c2679;
/* rgb */ color: rgb(28, 38, 121);
/* oklch */ color: oklch(32.2% 0.140 270.7);
Tailwind
colors: {
  custom: {
    50: '#6860a1',
    500: '#1c2679',
    950: '#000000',
  },
}
SCSS
$custom: #1c2679;
$custom-light: #6860a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2679",
  "rgb": {
    "r": 28,
    "g": 38,
    "b": 121
  },
  "hsl": {
    "h": 233.548,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32201,
    "c": 0.13993,
    "h": 270.7
  },
  "luminance": 0.03014
}

Semantic roles & 50–950 ramp

primary
#1C2679
secondary
#ADA244
accent
#D442E5
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1C2679

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

Preview Lab → · Contrast checker → · Palette generator →

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