#1C2E7A#1C2E7A

#1C2E7A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.131 H 268.2°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#1C2E7A
RGBrgb(28, 46, 122)
HSLhsl(229, 63%, 29%)
HSVhsv(229, 77%, 48%)
CMYKcmyk(77%, 62.3%, 0%, 52.2%)
CIE-LABlab(22.32, 21.76, -45.38)
CIE-LCHlch(22.32, 50.33, 295.62°)
OKLaboklab(33.87% -0.004 -0.131)
OKLCHoklch(33.87% 0.131 268.2)
XYZxyz(4.9675, 3.6055, 18.8427)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2E7A #7A681C
analogous
#1C5D7A #1C2E7A #391C7A
triadic
#1C2E7A #7A1C2E #2E7A1C
tetradic
#1C2E7A #7A1C5D #7A681C #1C7A39
square
#1C2E7A #7A1C5D #7A681C #1C7A39
split-complementary
#1C2E7A #7A391C #5D7A1C
monochromatic
#060919 #111B48 #1C2E7A #2741AC #3E5AD3

Accessibility & contrast

On white

12.20
#1C2E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2E7A
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2E7A#FFFFFF#000000##FFFFFF
##1C2E7A1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#003179
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c2e7a;
/* rgb */ color: rgb(28, 46, 122);
/* oklch */ color: oklch(33.9% 0.131 268.2);
Tailwind
colors: {
  custom: {
    50: '#6766a1',
    500: '#1c2e7a',
    950: '#000000',
  },
}
SCSS
$custom: #1c2e7a;
$custom-light: #6766a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2e7a",
  "rgb": {
    "r": 28,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 228.511,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3387,
    "c": 0.1311,
    "h": 268.2
  },
  "luminance": 0.03606
}

Semantic roles & 50–950 ramp

primary
#1C2E7A
secondary
#AE9A44
accent
#C642E6
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1C2E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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