#1C2A85#1C2A85

#1C2A85 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.152 H 269.3°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#1C2A85
RGBrgb(28, 42, 133)
HSLhsl(232, 65%, 32%)
HSVhsv(232, 79%, 52%)
CMYKcmyk(78.9%, 68.4%, 0%, 47.8%)
CIE-LABlab(22.29, 28.82, -52.38)
CIE-LCHlch(22.29, 59.79, 298.82°)
OKLaboklab(34.16% -0.0017 -0.1516)
OKLCHoklch(34.16% 0.152 269.3)
XYZxyz(5.5390, 3.5956, 22.5879)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2A85 #85771C
analogous
#1C5F85 #1C2A85 #431C85
triadic
#1C2A85 #851C2A #2A851C
tetradic
#1C2A85 #851C5F #85771C #1C8543
square
#1C2A85 #851C5F #85771C #1C8543
split-complementary
#1C2A85 #85431C #5F851C
monochromatic
#070A20 #111A52 #1C2A85 #273AB8 #4458D8

Accessibility & contrast

On white

12.21
#1C2A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1C2A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2A85
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2A85#FFFFFF#000000##FFFFFF
##1C2A851.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c2a85;
/* rgb */ color: rgb(28, 42, 133);
/* oklch */ color: oklch(34.2% 0.152 269.3);
Tailwind
colors: {
  custom: {
    50: '#6b63a9',
    500: '#1c2a85',
    950: '#000000',
  },
}
SCSS
$custom: #1c2a85;
$custom-light: #6b63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2a85",
  "rgb": {
    "r": 28,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 232,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34159,
    "c": 0.1516,
    "h": 269.3
  },
  "luminance": 0.03596
}

Semantic roles & 50–950 ramp

primary
#1C2A85
secondary
#B8A945
accent
#D240E8
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1C2A85

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

Preview Lab → · Contrast checker → · Palette generator →

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