#1C2D8D#1C2D8D

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

Color values

HEX#1C2D8D
RGBrgb(28, 45, 141)
HSLhsl(231, 67%, 33%)
HSVhsv(231, 80%, 55%)
CMYKcmyk(80.1%, 68.1%, 0%, 44.7%)
CIE-LABlab(23.82, 29.88, -54.86)
CIE-LCHlch(23.82, 62.46, 298.57°)
OKLaboklab(35.52% -0.004 -0.1588)
OKLCHoklch(35.52% 0.159 268.6)
XYZxyz(6.2233, 4.0460, 25.6471)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2D8D #8D7C1C
analogous
#1C668D #1C2D8D #431C8D
triadic
#1C2D8D #8D1C2D #2D8D1C
tetradic
#1C2D8D #8D1C66 #8D7C1C #1C8D43
square
#1C2D8D #8D1C66 #8D7C1C #1C8D43
split-complementary
#1C2D8D #8D431C #668D1C
monochromatic
#080C27 #121D5A #1C2D8D #263DC0 #495FDB

Accessibility & contrast

On white

11.61
#1C2D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1C2D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2D8D
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2D8D#FFFFFF#000000##FFFFFF
##1C2D8D1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1c2d8d;
/* rgb */ color: rgb(28, 45, 141);
/* oklch */ color: oklch(35.5% 0.159 268.6);
Tailwind
colors: {
  custom: {
    50: '#6d66af',
    500: '#1c2d8d',
    950: '#000000',
  },
}
SCSS
$custom: #1c2d8d;
$custom-light: #6d66af;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2d8d",
  "rgb": {
    "r": 28,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 230.973,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35519,
    "c": 0.15885,
    "h": 268.6
  },
  "luminance": 0.04047
}

Semantic roles & 50–950 ramp

primary
#1C2D8D
secondary
#BDAB48
accent
#D03EEA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1C2D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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