#1C2E7C#1C2E7C

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

Color values

HEX#1C2E7C
RGBrgb(28, 46, 124)
HSLhsl(229, 63%, 30%)
HSVhsv(229, 77%, 49%)
CMYKcmyk(77.4%, 62.9%, 0%, 51.4%)
CIE-LABlab(22.50, 22.56, -46.36)
CIE-LCHlch(22.50, 51.56, 295.94°)
OKLaboklab(34.06% -0.004 -0.1339)
OKLCHoklch(34.06% 0.134 268.3)
XYZxyz(5.0927, 3.6556, 19.5021)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2E7C #7C6A1C
analogous
#1C5E7C #1C2E7C #3A1C7C
triadic
#1C2E7C #7C1C2E #2E7C1C
tetradic
#1C2E7C #7C1C5E #7C6A1C #1C7C3A
square
#1C2E7C #7C1C5E #7C6A1C #1C7C3A
split-complementary
#1C2E7C #7C3A1C #5E7C1C
monochromatic
#060919 #111B4A #1C2E7C #2741AE #3F5BD4

Accessibility & contrast

On white

12.13
#1C2E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2E7C
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2E7C#FFFFFF#000000##FFFFFF
##1C2E7C1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c2e7c;
/* rgb */ color: rgb(28, 46, 124);
/* oklch */ color: oklch(34.1% 0.134 268.3);
Tailwind
colors: {
  custom: {
    50: '#6866a3',
    500: '#1c2e7c',
    950: '#000000',
  },
}
SCSS
$custom: #1c2e7c;
$custom-light: #6866a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2e7c",
  "rgb": {
    "r": 28,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 228.75,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34056,
    "c": 0.13398,
    "h": 268.3
  },
  "luminance": 0.03656
}

Semantic roles & 50–950 ramp

primary
#1C2E7C
secondary
#B09C44
accent
#C742E6
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1C2E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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