#1C2E7E#1C2E7E

#1C2E7E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.137 H 268.3°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#1C2E7E
RGBrgb(28, 46, 126)
HSLhsl(229, 64%, 30%)
HSVhsv(229, 78%, 49%)
CMYKcmyk(77.8%, 63.5%, 0%, 50.6%)
CIE-LABlab(22.68, 23.35, -47.34)
CIE-LCHlch(22.68, 52.78, 296.26°)
OKLaboklab(34.24% -0.004 -0.1368)
OKLCHoklch(34.24% 0.137 268.3)
XYZxyz(5.2205, 3.7067, 20.1749)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2E7E #7E6C1C
analogous
#1C5F7E #1C2E7E #3B1C7E
triadic
#1C2E7E #7E1C2E #2E7E1C
tetradic
#1C2E7E #7E1C5F #7E6C1C #1C7E3B
square
#1C2E7E #7E1C5F #7E6C1C #1C7E3B
split-complementary
#1C2E7E #7E3B1C #5F7E1C
monochromatic
#06091A #111C4C #1C2E7E #2740B0 #405BD5

Accessibility & contrast

On white

12.06
#1C2E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1C2E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2E7E
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2E7E#FFFFFF#000000##FFFFFF
##1C2E7E1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c2e7e;
/* rgb */ color: rgb(28, 46, 126);
/* oklch */ color: oklch(34.2% 0.137 268.3);
Tailwind
colors: {
  custom: {
    50: '#6966a4',
    500: '#1c2e7e',
    950: '#000000',
  },
}
SCSS
$custom: #1c2e7e;
$custom-light: #6966a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2e7e",
  "rgb": {
    "r": 28,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 228.98,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34244,
    "c": 0.13684,
    "h": 268.3
  },
  "luminance": 0.03707
}

Semantic roles & 50–950 ramp

primary
#1C2E7E
secondary
#B29E44
accent
#C841E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1C2E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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