#1C2D8B#1C2D8B

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

Color values

HEX#1C2D8B
RGBrgb(28, 45, 139)
HSLhsl(231, 66%, 33%)
HSVhsv(231, 80%, 55%)
CMYKcmyk(79.9%, 67.6%, 0%, 45.5%)
CIE-LABlab(23.63, 29.11, -53.93)
CIE-LCHlch(23.63, 61.29, 298.36°)
OKLaboklab(35.32% -0.0039 -0.1561)
OKLCHoklch(35.32% 0.156 268.6)
XYZxyz(6.0759, 3.9870, 24.8704)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2D8B #8B7A1C
analogous
#1C648B #1C2D8B #431C8B
triadic
#1C2D8B #8B1C2D #2D8B1C
tetradic
#1C2D8B #8B1C64 #8B7A1C #1C8B43
square
#1C2D8B #8B1C64 #8B7A1C #1C8B43
split-complementary
#1C2D8B #8B431C #648B1C
monochromatic
#070C25 #121D58 #1C2D8B #263DBE #475EDA

Accessibility & contrast

On white

11.68
#1C2D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1C2D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2D8B
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2D8B#FFFFFF#000000##FFFFFF
##1C2D8B1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#003389
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1c2d8b;
/* rgb */ color: rgb(28, 45, 139);
/* oklch */ color: oklch(35.3% 0.156 268.6);
Tailwind
colors: {
  custom: {
    50: '#6c66ae',
    500: '#1c2d8b',
    950: '#000000',
  },
}
SCSS
$custom: #1c2d8b;
$custom-light: #6c66ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2d8b",
  "rgb": {
    "r": 28,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 230.811,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35318,
    "c": 0.15615,
    "h": 268.6
  },
  "luminance": 0.03988
}

Semantic roles & 50–950 ramp

primary
#1C2D8B
secondary
#BCAA47
accent
#CF3EE9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1C2D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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