#1C2B8A#1C2B8A

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

Color values

HEX#1C2B8A
RGBrgb(28, 43, 138)
HSLhsl(232, 66%, 33%)
HSVhsv(232, 80%, 54%)
CMYKcmyk(79.7%, 68.8%, 0%, 45.9%)
CIE-LABlab(23.03, 30.06, -54.29)
CIE-LCHlch(23.03, 62.06, 298.97°)
OKLaboklab(34.85% -0.0027 -0.1572)
OKLCHoklch(34.85% 0.157 269)
XYZxyz(5.9286, 3.8089, 24.4626)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2B8A #8A7B1C
analogous
#1C628A #1C2B8A #441C8A
triadic
#1C2B8A #8A1C2B #2B8A1C
tetradic
#1C2B8A #8A1C62 #8A7B1C #1C8A44
square
#1C2B8A #8A1C62 #8A7B1C #1C8A44
split-complementary
#1C2B8A #8A441C #628A1C
monochromatic
#070B24 #121B57 #1C2B8A #263BBD #475BDA

Accessibility & contrast

On white

11.92
#1C2B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1C2B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2B8A
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2B8A#FFFFFF#000000##FFFFFF
##1C2B8A1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003288
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1c2b8a;
/* rgb */ color: rgb(28, 43, 138);
/* oklch */ color: oklch(34.8% 0.157 269.0);
Tailwind
colors: {
  custom: {
    50: '#6c64ad',
    500: '#1c2b8a',
    950: '#000000',
  },
}
SCSS
$custom: #1c2b8a;
$custom-light: #6c64ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2b8a",
  "rgb": {
    "r": 28,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 231.818,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3485,
    "c": 0.15719,
    "h": 269
  },
  "luminance": 0.0381
}

Semantic roles & 50–950 ramp

primary
#1C2B8A
secondary
#BBAB46
accent
#D23FE9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1C2B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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