#1C1D7B#1C1D7B

#1C1D7B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.153 H 272.5°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#1C1D7B
RGBrgb(28, 29, 123)
HSLhsl(239, 63%, 30%)
HSVhsv(239, 77%, 48%)
CMYKcmyk(77.2%, 76.4%, 0%, 51.8%)
CIE-LABlab(18.17, 33.51, -52.84)
CIE-LCHlch(18.17, 62.57, 302.38°)
OKLaboklab(30.87% 0.0066 -0.1529)
OKLCHoklch(30.87% 0.153 272.5)
XYZxyz(4.4922, 2.5552, 18.9915)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1D7B #7B7A1C
analogous
#1C4D7B #1C1D7B #4A1C7B
triadic
#1C1D7B #7B1C1D #1D7B1C
tetradic
#1C1D7B #7B1C4D #7B7A1C #1C7B4A
square
#1C1D7B #7B1C4D #7B7A1C #1C7B4A
split-complementary
#1C1D7B #7B4A1C #4D7B1C
monochromatic
#060619 #111149 #1C1D7B #2729AD #3E40D3

Accessibility & contrast

On white

13.90
#1C1D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1C1D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1D7B
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1D7B#FFFFFF#000000##FFFFFF
##1C1D7B1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002879
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1c1d7b;
/* rgb */ color: rgb(28, 29, 123);
/* oklch */ color: oklch(30.9% 0.153 272.5);
Tailwind
colors: {
  custom: {
    50: '#695aa2',
    500: '#1c1d7b',
    950: '#000000',
  },
}
SCSS
$custom: #1c1d7b;
$custom-light: #695aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1d7b",
  "rgb": {
    "r": 28,
    "g": 29,
    "b": 123
  },
  "hsl": {
    "h": 239.368,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.30873,
    "c": 0.15305,
    "h": 272.5
  },
  "luminance": 0.02556
}

Semantic roles & 50–950 ramp

primary
#1C1D7B
secondary
#AFAE44
accent
#E442E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1C1D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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