#1C2D8A#1C2D8A

#1C2D8A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.155 H 268.6°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#1C2D8A
RGBrgb(28, 45, 138)
HSLhsl(231, 66%, 33%)
HSVhsv(231, 80%, 54%)
CMYKcmyk(79.7%, 67.4%, 0%, 45.9%)
CIE-LABlab(23.53, 28.72, -53.47)
CIE-LCHlch(23.53, 60.69, 298.25°)
OKLaboklab(35.22% -0.0038 -0.1547)
OKLCHoklch(35.22% 0.155 268.6)
XYZxyz(6.0031, 3.9580, 24.4874)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2D8A #8A791C
analogous
#1C648A #1C2D8A #421C8A
triadic
#1C2D8A #8A1C2D #2D8A1C
tetradic
#1C2D8A #8A1C64 #8A791C #1C8A42
square
#1C2D8A #8A1C64 #8A791C #1C8A42
split-complementary
#1C2D8A #8A421C #648A1C
monochromatic
#070C24 #121C57 #1C2D8A #263EBD #475DDA

Accessibility & contrast

On white

11.72
#1C2D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1C2D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2D8A
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2D8A#FFFFFF#000000##FFFFFF
##1C2D8A1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#003388
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1c2d8a;
/* rgb */ color: rgb(28, 45, 138);
/* oklch */ color: oklch(35.2% 0.155 268.6);
Tailwind
colors: {
  custom: {
    50: '#6c66ad',
    500: '#1c2d8a',
    950: '#000000',
  },
}
SCSS
$custom: #1c2d8a;
$custom-light: #6c66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2d8a",
  "rgb": {
    "r": 28,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 230.727,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35217,
    "c": 0.15479,
    "h": 268.6
  },
  "luminance": 0.03959
}

Semantic roles & 50–950 ramp

primary
#1C2D8A
secondary
#BBA946
accent
#CF3FE9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1C2D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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