#1C2A7C#1C2A7C

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

Color values

HEX#1C2A7C
RGBrgb(28, 42, 124)
HSLhsl(231, 63%, 30%)
HSVhsv(231, 77%, 49%)
CMYKcmyk(77.4%, 66.1%, 0%, 51.4%)
CIE-LABlab(21.42, 25.34, -48.12)
CIE-LCHlch(21.42, 54.38, 297.77°)
OKLaboklab(33.26% -0.0012 -0.1391)
OKLCHoklch(33.26% 0.139 269.5)
XYZxyz(4.9437, 3.3575, 19.4524)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2A7C #7C6E1C
analogous
#1C5A7C #1C2A7C #3E1C7C
triadic
#1C2A7C #7C1C2A #2A7C1C
tetradic
#1C2A7C #7C1C5A #7C6E1C #1C7C3E
square
#1C2A7C #7C1C5A #7C6E1C #1C7C3E
split-complementary
#1C2A7C #7C3E1C #5A7C1C
monochromatic
#060819 #11194A #1C2A7C #273BAE #3F55D4

Accessibility & contrast

On white

12.56
#1C2A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1C2A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2A7C
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2A7C#FFFFFF#000000##FFFFFF
##1C2A7C1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#002F7A
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1c2a7c;
/* rgb */ color: rgb(28, 42, 124);
/* oklch */ color: oklch(33.3% 0.139 269.5);
Tailwind
colors: {
  custom: {
    50: '#6863a3',
    500: '#1c2a7c',
    950: '#000000',
  },
}
SCSS
$custom: #1c2a7c;
$custom-light: #6863a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2a7c",
  "rgb": {
    "r": 28,
    "g": 42,
    "b": 124
  },
  "hsl": {
    "h": 231.25,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33261,
    "c": 0.13913,
    "h": 269.5
  },
  "luminance": 0.03358
}

Semantic roles & 50–950 ramp

primary
#1C2A7C
secondary
#B0A044
accent
#CE42E6
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1C2A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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