#1C2A7D#1C2A7D

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

Color values

HEX#1C2A7D
RGBrgb(28, 42, 125)
HSLhsl(231, 63%, 30%)
HSVhsv(231, 78%, 49%)
CMYKcmyk(77.6%, 66.4%, 0%, 51%)
CIE-LABlab(21.52, 25.73, -48.60)
CIE-LCHlch(21.52, 54.99, 297.90°)
OKLaboklab(33.36% -0.0012 -0.1405)
OKLCHoklch(33.36% 0.141 269.5)
XYZxyz(5.0073, 3.3829, 19.7871)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2A7D #7D6F1C
analogous
#1C5B7D #1C2A7D #3E1C7D
triadic
#1C2A7D #7D1C2A #2A7D1C
tetradic
#1C2A7D #7D1C5B #7D6F1C #1C7D3E
square
#1C2A7D #7D1C5B #7D6F1C #1C7D3E
split-complementary
#1C2A7D #7D3E1C #5B7D1C
monochromatic
#060819 #11194B #1C2A7D #273BAF #3F55D4

Accessibility & contrast

On white

12.53
#1C2A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1C2A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2A7D
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2A7D#FFFFFF#000000##FFFFFF
##1C2A7D1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#002F7B
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c2a7d;
/* rgb */ color: rgb(28, 42, 125);
/* oklch */ color: oklch(33.4% 0.141 269.5);
Tailwind
colors: {
  custom: {
    50: '#6963a3',
    500: '#1c2a7d',
    950: '#000000',
  },
}
SCSS
$custom: #1c2a7d;
$custom-light: #6963a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2a7d",
  "rgb": {
    "r": 28,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 231.34,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.33359,
    "c": 0.14054,
    "h": 269.5
  },
  "luminance": 0.03383
}

Semantic roles & 50–950 ramp

primary
#1C2A7D
secondary
#B1A144
accent
#CF41E6
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1C2A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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