#1C2B7E#1C2B7E

#1C2B7E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.141 H 269.2°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#1C2B7E
RGBrgb(28, 43, 126)
HSLhsl(231, 64%, 30%)
HSVhsv(231, 78%, 49%)
CMYKcmyk(77.8%, 65.9%, 0%, 50.6%)
CIE-LABlab(21.87, 25.43, -48.65)
CIE-LCHlch(21.87, 54.90, 297.60°)
OKLaboklab(33.65% -0.002 -0.1407)
OKLCHoklch(33.65% 0.141 269.2)
XYZxyz(5.1074, 3.4804, 20.1372)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2B7E #7E6F1C
analogous
#1C5C7E #1C2B7E #3E1C7E
triadic
#1C2B7E #7E1C2B #2B7E1C
tetradic
#1C2B7E #7E1C5C #7E6F1C #1C7E3E
square
#1C2B7E #7E1C5C #7E6F1C #1C7E3E
split-complementary
#1C2B7E #7E3E1C #5C7E1C
monochromatic
#06091A #111A4C #1C2B7E #273CB0 #4057D5

Accessibility & contrast

On white

12.38
#1C2B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1C2B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2B7E
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2B7E#FFFFFF#000000##FFFFFF
##1C2B7E1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c2b7e;
/* rgb */ color: rgb(28, 43, 126);
/* oklch */ color: oklch(33.7% 0.141 269.2);
Tailwind
colors: {
  custom: {
    50: '#6964a4',
    500: '#1c2b7e',
    950: '#000000',
  },
}
SCSS
$custom: #1c2b7e;
$custom-light: #6964a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2b7e",
  "rgb": {
    "r": 28,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 230.816,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3365,
    "c": 0.14067,
    "h": 269.2
  },
  "luminance": 0.03481
}

Semantic roles & 50–950 ramp

primary
#1C2B7E
secondary
#B2A144
accent
#CD41E7
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1C2B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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