#1C2D86#1C2D86

#1C2D86 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.149 H 268.6°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#1C2D86
RGBrgb(28, 45, 134)
HSLhsl(230, 65%, 32%)
HSVhsv(230, 79%, 53%)
CMYKcmyk(79.1%, 66.4%, 0%, 47.5%)
CIE-LABlab(23.15, 27.18, -51.60)
CIE-LCHlch(23.15, 58.32, 297.78°)
OKLaboklab(34.82% -0.0036 -0.1493)
OKLCHoklch(34.82% 0.149 268.6)
XYZxyz(5.7189, 3.8442, 22.9902)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2D86 #86751C
analogous
#1C6286 #1C2D86 #401C86
triadic
#1C2D86 #861C2D #2D861C
tetradic
#1C2D86 #861C62 #86751C #1C8640
square
#1C2D86 #861C62 #86751C #1C8640
split-complementary
#1C2D86 #86401C #62861C
monochromatic
#070B21 #111C53 #1C2D86 #273EB9 #445CD8

Accessibility & contrast

On white

11.87
#1C2D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1C2D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2D86
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2D86#FFFFFF#000000##FFFFFF
##1C2D861.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1c2d86;
/* rgb */ color: rgb(28, 45, 134);
/* oklch */ color: oklch(34.8% 0.149 268.6);
Tailwind
colors: {
  custom: {
    50: '#6b65aa',
    500: '#1c2d86',
    950: '#000000',
  },
}
SCSS
$custom: #1c2d86;
$custom-light: #6b65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2d86",
  "rgb": {
    "r": 28,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 230.377,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3482,
    "c": 0.14931,
    "h": 268.6
  },
  "luminance": 0.03845
}

Semantic roles & 50–950 ramp

primary
#1C2D86
secondary
#B9A645
accent
#CD3FE8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1C2D86

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

Preview Lab → · Contrast checker → · Palette generator →

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