#1C2582#1C2582

#1C2582 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.153 H 270.5°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#1C2582
RGBrgb(28, 37, 130)
HSLhsl(235, 65%, 31%)
HSVhsv(235, 78%, 51%)
CMYKcmyk(78.5%, 71.5%, 0%, 49%)
CIE-LABlab(20.76, 31.00, -53.01)
CIE-LCHlch(20.76, 61.41, 300.32°)
OKLaboklab(32.96% 0.0014 -0.1534)
OKLCHoklch(32.96% 0.153 270.5)
XYZxyz(5.1683, 3.1812, 21.4564)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2582 #82791C
analogous
#1C5882 #1C2582 #461C82
triadic
#1C2582 #821C25 #25821C
tetradic
#1C2582 #821C58 #82791C #1C8246
square
#1C2582 #821C58 #82791C #1C8246
split-complementary
#1C2582 #82461C #58821C
monochromatic
#06081D #111750 #1C2582 #2733B4 #424FD6

Accessibility & contrast

On white

12.83
#1C2582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1C2582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2582
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2582#FFFFFF#000000##FFFFFF
##1C25821.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#002D80
Tritanopia (blue-blind)
#003F50
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1c2582;
/* rgb */ color: rgb(28, 37, 130);
/* oklch */ color: oklch(33.0% 0.153 270.5);
Tailwind
colors: {
  custom: {
    50: '#6b60a7',
    500: '#1c2582',
    950: '#000000',
  },
}
SCSS
$custom: #1c2582;
$custom-light: #6b60a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2582",
  "rgb": {
    "r": 28,
    "g": 37,
    "b": 130
  },
  "hsl": {
    "h": 234.706,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32955,
    "c": 0.15346,
    "h": 270.5
  },
  "luminance": 0.03182
}

Semantic roles & 50–950 ramp

primary
#1C2582
secondary
#B5AB44
accent
#D940E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1C2582

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

Preview Lab → · Contrast checker → · Palette generator →

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