#1C2D7F#1C2D7F

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

Color values

HEX#1C2D7F
RGBrgb(28, 45, 127)
HSLhsl(230, 64%, 30%)
HSVhsv(230, 78%, 50%)
CMYKcmyk(78%, 64.6%, 0%, 50.2%)
CIE-LABlab(22.50, 24.44, -48.26)
CIE-LCHlch(22.50, 54.10, 296.86°)
OKLaboklab(34.14% -0.0033 -0.1395)
OKLCHoklch(34.14% 0.14 268.6)
XYZxyz(5.2467, 3.6554, 20.5036)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2D7F #7F6E1C
analogous
#1C5E7F #1C2D7F #3C1C7F
triadic
#1C2D7F #7F1C2D #2D7F1C
tetradic
#1C2D7F #7F1C5E #7F6E1C #1C7F3C
square
#1C2D7F #7F1C5E #7F6E1C #1C7F3C
split-complementary
#1C2D7F #7F3C1C #5E7F1C
monochromatic
#06091B #111B4D #1C2D7F #273FB1 #405AD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C2D7F#FFFFFF#000000##FFFFFF
##1C2D7F1.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)
#003A82
Deuteranopia (green-blind)
#00317D
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c2d7f;
/* rgb */ color: rgb(28, 45, 127);
/* oklch */ color: oklch(34.1% 0.140 268.6);
Tailwind
colors: {
  custom: {
    50: '#6965a5',
    500: '#1c2d7f',
    950: '#000000',
  },
}
SCSS
$custom: #1c2d7f;
$custom-light: #6965a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2d7f",
  "rgb": {
    "r": 28,
    "g": 45,
    "b": 127
  },
  "hsl": {
    "h": 229.697,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34139,
    "c": 0.13954,
    "h": 268.6
  },
  "luminance": 0.03656
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C2D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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