#1C2D82#1C2D82

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

Color values

HEX#1C2D82
RGBrgb(28, 45, 130)
HSLhsl(230, 65%, 31%)
HSVhsv(230, 78%, 51%)
CMYKcmyk(78.5%, 65.4%, 0%, 49%)
CIE-LABlab(22.77, 25.62, -49.70)
CIE-LCHlch(22.77, 55.91, 297.27°)
OKLaboklab(34.43% -0.0034 -0.1437)
OKLCHoklch(34.43% 0.144 268.6)
XYZxyz(5.4451, 3.7348, 21.5487)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2D82 #82711C
analogous
#1C6082 #1C2D82 #3E1C82
triadic
#1C2D82 #821C2D #2D821C
tetradic
#1C2D82 #821C60 #82711C #1C823E
square
#1C2D82 #821C60 #82711C #1C823E
split-complementary
#1C2D82 #823E1C #60821C
monochromatic
#060A1D #111C50 #1C2D82 #273EB4 #425BD6

Accessibility & contrast

On white

12.02
#1C2D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1C2D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2D82
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2D82#FFFFFF#000000##FFFFFF
##1C2D821.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003280
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c2d82;
/* rgb */ color: rgb(28, 45, 130);
/* oklch */ color: oklch(34.4% 0.144 268.6);
Tailwind
colors: {
  custom: {
    50: '#6a65a7',
    500: '#1c2d82',
    950: '#000000',
  },
}
SCSS
$custom: #1c2d82;
$custom-light: #6a65a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2d82",
  "rgb": {
    "r": 28,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 230,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34429,
    "c": 0.14376,
    "h": 268.6
  },
  "luminance": 0.03735
}

Semantic roles & 50–950 ramp

primary
#1C2D82
secondary
#B5A344
accent
#CC40E8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070510
muted
#7A7A7F

Preview Lab

Preview with #1C2D82

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

Preview Lab → · Contrast checker → · Palette generator →

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