#1C2B8B#1C2B8B

#1C2B8B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.159 H 269.0°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#1C2B8B
RGBrgb(28, 43, 139)
HSLhsl(232, 66%, 33%)
HSVhsv(232, 80%, 55%)
CMYKcmyk(79.9%, 69.1%, 0%, 45.5%)
CIE-LABlab(23.13, 30.44, -54.75)
CIE-LCHlch(23.13, 62.65, 299.08°)
OKLaboklab(34.95% -0.0028 -0.1585)
OKLCHoklch(34.95% 0.159 269)
XYZxyz(6.0014, 3.8380, 24.8456)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2B8B #8B7C1C
analogous
#1C628B #1C2B8B #451C8B
triadic
#1C2B8B #8B1C2B #2B8B1C
tetradic
#1C2B8B #8B1C62 #8B7C1C #1C8B45
square
#1C2B8B #8B1C62 #8B7C1C #1C8B45
split-complementary
#1C2B8B #8B451C #628B1C
monochromatic
#070B25 #121B58 #1C2B8B #263BBE #475BDA

Accessibility & contrast

On white

11.88
#1C2B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1C2B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2B8B
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2B8B#FFFFFF#000000##FFFFFF
##1C2B8B1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003289
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1c2b8b;
/* rgb */ color: rgb(28, 43, 139);
/* oklch */ color: oklch(35.0% 0.159 269.0);
Tailwind
colors: {
  custom: {
    50: '#6c64ae',
    500: '#1c2b8b',
    950: '#000000',
  },
}
SCSS
$custom: #1c2b8b;
$custom-light: #6c64ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2b8b",
  "rgb": {
    "r": 28,
    "g": 43,
    "b": 139
  },
  "hsl": {
    "h": 231.892,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34953,
    "c": 0.15853,
    "h": 269
  },
  "luminance": 0.03839
}

Semantic roles & 50–950 ramp

primary
#1C2B8B
secondary
#BCAC47
accent
#D23EE9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1C2B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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