#1C2A9F#1C2A9F

#1C2A9F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.186 H 268.6°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#1C2A9F
RGBrgb(28, 42, 159)
HSLhsl(234, 70%, 37%)
HSVhsv(234, 82%, 62%)
CMYKcmyk(82.4%, 73.6%, 0%, 37.6%)
CIE-LABlab(24.97, 38.47, -64.04)
CIE-LCHlch(24.97, 74.71, 300.99°)
OKLaboklab(36.9% -0.0044 -0.1856)
OKLCHoklch(36.9% 0.186 268.6)
XYZxyz(7.5627, 4.4051, 33.2458)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2A9F #9F911C
analogous
#1C6C9F #1C2A9F #501C9F
triadic
#1C2A9F #9F1C2A #2A9F1C
tetradic
#1C2A9F #9F1C6C #9F911C #1C9F50
square
#1C2A9F #9F1C6C #9F911C #1C9F50
split-complementary
#1C2A9F #9F501C #6C9F1C
monochromatic
#0A0F37 #131C6B #1C2A9F #2538D3 #5463E1

Accessibility & contrast

On white

11.16
#1C2A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1C2A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2A9F
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2A9F#FFFFFF#000000##FFFFFF
##1C2A9F1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1c2a9f;
/* rgb */ color: rgb(28, 42, 159);
/* oklch */ color: oklch(36.9% 0.186 268.6);
Tailwind
colors: {
  custom: {
    50: '#7264bd',
    500: '#1c2a9f',
    950: '#000000',
  },
}
SCSS
$custom: #1c2a9f;
$custom-light: #7264bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2a9f",
  "rgb": {
    "r": 28,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 233.588,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36903,
    "c": 0.18562,
    "h": 268.6
  },
  "luminance": 0.04406
}

Semantic roles & 50–950 ramp

primary
#1C2A9F
secondary
#C4B853
accent
#DA3BED
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #1C2A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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