#1C3F82#1C3F82

#1C3F82 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.3% C 0.120 H 261.8°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#1C3F82
RGBrgb(28, 63, 130)
HSLhsl(219, 65%, 31%)
HSVhsv(219, 78%, 51%)
CMYKcmyk(78.5%, 51.5%, 0%, 49%)
CIE-LABlab(27.88, 13.04, -41.40)
CIE-LCHlch(27.88, 43.40, 287.49°)
OKLaboklab(38.27% -0.0172 -0.119)
OKLCHoklch(38.27% 0.12 261.8)
XYZxyz(6.2842, 5.4129, 21.8284)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3F82 #825F1C
analogous
#1C7282 #1C3F82 #2C1C82
triadic
#1C3F82 #821C3F #3F821C
tetradic
#1C3F82 #821C72 #825F1C #1C822C
square
#1C3F82 #821C72 #825F1C #1C822C
split-complementary
#1C3F82 #822C1C #72821C
monochromatic
#060E1D #112750 #1C3F82 #2757B4 #4275D6

Accessibility & contrast

On white

10.08
#1C3F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1C3F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3F82
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3F82#FFFFFF#000000##FFFFFF
##1C3F821.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174784
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1c3f82;
/* rgb */ color: rgb(28, 63, 130);
/* oklch */ color: oklch(38.3% 0.120 261.8);
Tailwind
colors: {
  custom: {
    50: '#6873a7',
    500: '#1c3f82',
    950: '#000000',
  },
}
SCSS
$custom: #1c3f82;
$custom-light: #6873a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3f82",
  "rgb": {
    "r": 28,
    "g": 63,
    "b": 130
  },
  "hsl": {
    "h": 219.412,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38266,
    "c": 0.12027,
    "h": 261.8
  },
  "luminance": 0.05414
}

Semantic roles & 50–950 ramp

primary
#1C3F82
secondary
#B58F44
accent
#AE40E8
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1C3F82

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

Preview Lab → · Contrast checker → · Palette generator →

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