#1C2A9D#1C2A9D

#1C2A9D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.183 H 268.7°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#1C2A9D
RGBrgb(28, 42, 157)
HSLhsl(233, 70%, 36%)
HSVhsv(233, 82%, 62%)
CMYKcmyk(82.2%, 73.2%, 0%, 38.4%)
CIE-LABlab(24.75, 37.75, -63.18)
CIE-LCHlch(24.75, 73.59, 300.86°)
OKLaboklab(36.69% -0.0042 -0.1831)
OKLCHoklch(36.69% 0.183 268.7)
XYZxyz(7.3906, 4.3363, 32.3392)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2A9D #9D8F1C
analogous
#1C6B9D #1C2A9D #4F1C9D
triadic
#1C2A9D #9D1C2A #2A9D1C
tetradic
#1C2A9D #9D1C6B #9D8F1C #1C9D4F
square
#1C2A9D #9D1C6B #9D8F1C #1C9D4F
split-complementary
#1C2A9D #9D4F1C #6B9D1C
monochromatic
#090E35 #131C69 #1C2A9D #2538D1 #5362E0

Accessibility & contrast

On white

11.25
#1C2A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1C2A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2A9D
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2A9D#FFFFFF#000000##FFFFFF
##1C2A9D1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00349B
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1c2a9d;
/* rgb */ color: rgb(28, 42, 157);
/* oklch */ color: oklch(36.7% 0.183 268.7);
Tailwind
colors: {
  custom: {
    50: '#7164bb',
    500: '#1c2a9d',
    950: '#000000',
  },
}
SCSS
$custom: #1c2a9d;
$custom-light: #7164bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2a9d",
  "rgb": {
    "r": 28,
    "g": 42,
    "b": 157
  },
  "hsl": {
    "h": 233.488,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36685,
    "c": 0.18311,
    "h": 268.7
  },
  "luminance": 0.04337
}

Semantic roles & 50–950 ramp

primary
#1C2A9D
secondary
#C3B751
accent
#D93BED
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #1C2A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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