#1C2D7E#1C2D7E

#1C2D7E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.138 H 268.6°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#1C2D7E
RGBrgb(28, 45, 126)
HSLhsl(230, 64%, 30%)
HSVhsv(230, 78%, 49%)
CMYKcmyk(77.8%, 64.3%, 0%, 50.6%)
CIE-LABlab(22.41, 24.05, -47.78)
CIE-LCHlch(22.41, 53.49, 296.72°)
OKLaboklab(34.04% -0.0033 -0.1381)
OKLCHoklch(34.04% 0.138 268.6)
XYZxyz(5.1819, 3.6294, 20.1621)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2D7E #7E6D1C
analogous
#1C5E7E #1C2D7E #3C1C7E
triadic
#1C2D7E #7E1C2D #2D7E1C
tetradic
#1C2D7E #7E1C5E #7E6D1C #1C7E3C
square
#1C2D7E #7E1C5E #7E6D1C #1C7E3C
split-complementary
#1C2D7E #7E3C1C #5E7E1C
monochromatic
#06091A #111B4C #1C2D7E #273FB0 #405AD5

Accessibility & contrast

On white

12.17
#1C2D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1C2D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2D7E
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2D7E#FFFFFF#000000##FFFFFF
##1C2D7E1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00317C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c2d7e;
/* rgb */ color: rgb(28, 45, 126);
/* oklch */ color: oklch(34.0% 0.138 268.6);
Tailwind
colors: {
  custom: {
    50: '#6965a4',
    500: '#1c2d7e',
    950: '#000000',
  },
}
SCSS
$custom: #1c2d7e;
$custom-light: #6965a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2d7e",
  "rgb": {
    "r": 28,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 229.592,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34044,
    "c": 0.13813,
    "h": 268.6
  },
  "luminance": 0.0363
}

Semantic roles & 50–950 ramp

primary
#1C2D7E
secondary
#B29F44
accent
#CA41E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1C2D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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