#1C2D7A#1C2D7A

#1C2D7A is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.132 H 268.6°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#1C2D7A
RGBrgb(28, 45, 122)
HSLhsl(229, 63%, 29%)
HSVhsv(229, 77%, 48%)
CMYKcmyk(77%, 63.1%, 0%, 52.2%)
CIE-LABlab(22.05, 22.46, -45.83)
CIE-LCHlch(22.05, 51.04, 296.11°)
OKLaboklab(33.67% -0.0033 -0.1324)
OKLCHoklch(33.67% 0.132 268.6)
XYZxyz(4.9289, 3.5283, 18.8298)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2D7A #7A691C
analogous
#1C5C7A #1C2D7A #3A1C7A
triadic
#1C2D7A #7A1C2D #2D7A1C
tetradic
#1C2D7A #7A1C5C #7A691C #1C7A3A
square
#1C2D7A #7A1C5C #7A691C #1C7A3A
split-complementary
#1C2D7A #7A3A1C #5C7A1C
monochromatic
#060919 #111B48 #1C2D7A #273FAC #3E59D3

Accessibility & contrast

On white

12.31
#1C2D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1C2D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2D7A
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2D7A#FFFFFF#000000##FFFFFF
##1C2D7A1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#003079
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c2d7a;
/* rgb */ color: rgb(28, 45, 122);
/* oklch */ color: oklch(33.7% 0.132 268.6);
Tailwind
colors: {
  custom: {
    50: '#6865a1',
    500: '#1c2d7a',
    950: '#000000',
  },
}
SCSS
$custom: #1c2d7a;
$custom-light: #6865a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2d7a",
  "rgb": {
    "r": 28,
    "g": 45,
    "b": 122
  },
  "hsl": {
    "h": 229.149,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33665,
    "c": 0.13242,
    "h": 268.6
  },
  "luminance": 0.03529
}

Semantic roles & 50–950 ramp

primary
#1C2D7A
secondary
#AE9B44
accent
#C842E6
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1C2D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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