#1C2A7F#1C2A7F

#1C2A7F is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.143 H 269.5°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#1C2A7F
RGBrgb(28, 42, 127)
HSLhsl(232, 64%, 30%)
HSVhsv(232, 78%, 50%)
CMYKcmyk(78%, 66.9%, 0%, 50.2%)
CIE-LABlab(21.71, 26.51, -49.56)
CIE-LCHlch(21.71, 56.20, 298.14°)
OKLaboklab(33.56% -0.0013 -0.1433)
OKLCHoklch(33.56% 0.143 269.5)
XYZxyz(5.1363, 3.4346, 20.4668)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2A7F #7F711C
analogous
#1C5B7F #1C2A7F #3F1C7F
triadic
#1C2A7F #7F1C2A #2A7F1C
tetradic
#1C2A7F #7F1C5B #7F711C #1C7F3F
square
#1C2A7F #7F1C5B #7F711C #1C7F3F
split-complementary
#1C2A7F #7F3F1C #5B7F1C
monochromatic
#06091B #11194D #1C2A7F #273BB1 #4055D5

Accessibility & contrast

On white

12.45
#1C2A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1C2A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2A7F
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2A7F#FFFFFF#000000##FFFFFF
##1C2A7F1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#002F7D
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c2a7f;
/* rgb */ color: rgb(28, 42, 127);
/* oklch */ color: oklch(33.6% 0.143 269.5);
Tailwind
colors: {
  custom: {
    50: '#6963a5',
    500: '#1c2a7f',
    950: '#000000',
  },
}
SCSS
$custom: #1c2a7f;
$custom-light: #6963a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2a7f",
  "rgb": {
    "r": 28,
    "g": 42,
    "b": 127
  },
  "hsl": {
    "h": 231.515,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33557,
    "c": 0.14333,
    "h": 269.5
  },
  "luminance": 0.03435
}

Semantic roles & 50–950 ramp

primary
#1C2A7F
secondary
#B3A344
accent
#CF41E7
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1C2A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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