#1C2D80#1C2D80

#1C2D80 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.141 H 268.6°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#1C2D80
RGBrgb(28, 45, 128)
HSLhsl(230, 64%, 31%)
HSVhsv(230, 78%, 50%)
CMYKcmyk(78.1%, 64.8%, 0%, 49.8%)
CIE-LABlab(22.59, 24.83, -48.74)
CIE-LCHlch(22.59, 54.70, 297.00°)
OKLaboklab(34.24% -0.0034 -0.1409)
OKLCHoklch(34.24% 0.141 268.6)
XYZxyz(5.3122, 3.6816, 20.8485)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2D80 #806F1C
analogous
#1C5F80 #1C2D80 #3D1C80
triadic
#1C2D80 #801C2D #2D801C
tetradic
#1C2D80 #801C5F #806F1C #1C803D
square
#1C2D80 #801C5F #806F1C #1C803D
split-complementary
#1C2D80 #803D1C #5F801C
monochromatic
#060A1C #111B4E #1C2D80 #273FB2 #415AD5

Accessibility & contrast

On white

12.09
#1C2D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1C2D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2D80
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2D80#FFFFFF#000000##FFFFFF
##1C2D801.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#00317E
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c2d80;
/* rgb */ color: rgb(28, 45, 128);
/* oklch */ color: oklch(34.2% 0.141 268.6);
Tailwind
colors: {
  custom: {
    50: '#6965a6',
    500: '#1c2d80',
    950: '#000000',
  },
}
SCSS
$custom: #1c2d80;
$custom-light: #6965a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2d80",
  "rgb": {
    "r": 28,
    "g": 45,
    "b": 128
  },
  "hsl": {
    "h": 229.8,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34235,
    "c": 0.14095,
    "h": 268.6
  },
  "luminance": 0.03682
}

Semantic roles & 50–950 ramp

primary
#1C2D80
secondary
#B3A144
accent
#CB41E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1C2D80

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

Preview Lab → · Contrast checker → · Palette generator →

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