#1C2B82#1C2B82

#1C2B82 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.146 H 269.2°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#1C2B82
RGBrgb(28, 43, 130)
HSLhsl(231, 65%, 31%)
HSVhsv(231, 78%, 51%)
CMYKcmyk(78.5%, 66.9%, 0%, 49%)
CIE-LABlab(22.25, 26.99, -50.56)
CIE-LCHlch(22.25, 57.31, 298.10°)
OKLaboklab(34.04% -0.0021 -0.1462)
OKLCHoklch(34.04% 0.146 269.2)
XYZxyz(5.3706, 3.5857, 21.5238)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2B82 #82731C
analogous
#1C5E82 #1C2B82 #401C82
triadic
#1C2B82 #821C2B #2B821C
tetradic
#1C2B82 #821C5E #82731C #1C8240
square
#1C2B82 #821C5E #82731C #1C8240
split-complementary
#1C2B82 #82401C #5E821C
monochromatic
#060A1D #111A50 #1C2B82 #273CB4 #4258D6

Accessibility & contrast

On white

12.23
#1C2B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2B82
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2B82#FFFFFF#000000##FFFFFF
##1C2B821.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A85
Deuteranopia (green-blind)
#003080
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c2b82;
/* rgb */ color: rgb(28, 43, 130);
/* oklch */ color: oklch(34.0% 0.146 269.2);
Tailwind
colors: {
  custom: {
    50: '#6a64a7',
    500: '#1c2b82',
    950: '#000000',
  },
}
SCSS
$custom: #1c2b82;
$custom-light: #6a64a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2b82",
  "rgb": {
    "r": 28,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 231.176,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34045,
    "c": 0.14626,
    "h": 269.2
  },
  "luminance": 0.03586
}

Semantic roles & 50–950 ramp

primary
#1C2B82
secondary
#B5A544
accent
#CF40E8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070510
muted
#7A7A7F

Preview Lab

Preview with #1C2B82

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

Preview Lab → · Contrast checker → · Palette generator →

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