#1C2A80#1C2A80

#1C2A80 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.145 H 269.4°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#1C2A80
RGBrgb(28, 42, 128)
HSLhsl(232, 64%, 31%)
HSVhsv(232, 78%, 50%)
CMYKcmyk(78.1%, 67.2%, 0%, 49.8%)
CIE-LABlab(21.80, 26.89, -50.03)
CIE-LCHlch(21.80, 56.80, 298.26°)
OKLaboklab(33.66% -0.0014 -0.1447)
OKLCHoklch(33.66% 0.145 269.4)
XYZxyz(5.2018, 3.4608, 20.8117)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2A80 #80721C
analogous
#1C5C80 #1C2A80 #401C80
triadic
#1C2A80 #801C2A #2A801C
tetradic
#1C2A80 #801C5C #80721C #1C8040
square
#1C2A80 #801C5C #80721C #1C8040
split-complementary
#1C2A80 #80401C #5C801C
monochromatic
#06091C #111A4E #1C2A80 #273AB2 #4156D5

Accessibility & contrast

On white

12.41
#1C2A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1C2A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2A80
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2A80#FFFFFF#000000##FFFFFF
##1C2A801.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#00307E
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c2a80;
/* rgb */ color: rgb(28, 42, 128);
/* oklch */ color: oklch(33.7% 0.145 269.4);
Tailwind
colors: {
  custom: {
    50: '#6963a6',
    500: '#1c2a80',
    950: '#000000',
  },
}
SCSS
$custom: #1c2a80;
$custom-light: #6963a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2a80",
  "rgb": {
    "r": 28,
    "g": 42,
    "b": 128
  },
  "hsl": {
    "h": 231.6,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33656,
    "c": 0.14472,
    "h": 269.4
  },
  "luminance": 0.03461
}

Semantic roles & 50–950 ramp

primary
#1C2A80
secondary
#B3A444
accent
#D041E7
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1C2A80

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

Preview Lab → · Contrast checker → · Palette generator →

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