#1C2F82#1C2F82

#1C2F82 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.141 H 268.1°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#1C2F82
RGBrgb(28, 47, 130)
HSLhsl(229, 65%, 31%)
HSVhsv(229, 78%, 51%)
CMYKcmyk(78.5%, 63.8%, 0%, 49%)
CIE-LABlab(23.31, 24.24, -48.83)
CIE-LCHlch(23.31, 54.51, 296.40°)
OKLaboklab(34.82% -0.0048 -0.1411)
OKLCHoklch(34.82% 0.141 268.1)
XYZxyz(5.5233, 3.8910, 21.5747)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F82 #826F1C
analogous
#1C6282 #1C2F82 #3C1C82
triadic
#1C2F82 #821C2F #2F821C
tetradic
#1C2F82 #821C62 #826F1C #1C823C
square
#1C2F82 #821C62 #826F1C #1C823C
split-complementary
#1C2F82 #823C1C #62821C
monochromatic
#060B1D #111D50 #1C2F82 #2741B4 #425ED6

Accessibility & contrast

On white

11.81
#1C2F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1C2F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2F82
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F82#FFFFFF#000000##FFFFFF
##1C2F821.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003380
Tritanopia (blue-blind)
#004453
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1c2f82;
/* rgb */ color: rgb(28, 47, 130);
/* oklch */ color: oklch(34.8% 0.141 268.1);
Tailwind
colors: {
  custom: {
    50: '#6a67a7',
    500: '#1c2f82',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f82;
$custom-light: #6a67a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f82",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 228.824,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34823,
    "c": 0.14122,
    "h": 268.1
  },
  "luminance": 0.03892
}

Semantic roles & 50–950 ramp

primary
#1C2F82
secondary
#B5A044
accent
#C840E8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1C2F82

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

Preview Lab → · Contrast checker → · Palette generator →

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