#1C2C8F#1C2C8F

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

Color values

HEX#1C2C8F
RGBrgb(28, 44, 143)
HSLhsl(232, 67%, 34%)
HSVhsv(232, 80%, 56%)
CMYKcmyk(80.4%, 69.2%, 0%, 43.9%)
CIE-LABlab(23.77, 31.30, -56.18)
CIE-LCHlch(23.77, 64.31, 299.12°)
OKLaboklab(35.54% -0.0036 -0.1627)
OKLCHoklch(35.54% 0.163 268.7)
XYZxyz(6.3358, 4.0307, 26.4254)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2C8F #8F7F1C
analogous
#1C658F #1C2C8F #451C8F
triadic
#1C2C8F #8F1C2C #2C8F1C
tetradic
#1C2C8F #8F1C65 #8F7F1C #1C8F45
square
#1C2C8F #8F1C65 #8F7F1C #1C8F45
split-complementary
#1C2C8F #8F451C #658F1C
monochromatic
#080D29 #121C5C #1C2C8F #263CC2 #4A5EDC

Accessibility & contrast

On white

11.63
#1C2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2C8F
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2C8F#FFFFFF#000000##FFFFFF
##1C2C8F1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c2c8f;
/* rgb */ color: rgb(28, 44, 143);
/* oklch */ color: oklch(35.5% 0.163 268.7);
Tailwind
colors: {
  custom: {
    50: '#6d65b1',
    500: '#1c2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #1c2c8f;
$custom-light: #6d65b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2c8f",
  "rgb": {
    "r": 28,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 231.652,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35542,
    "c": 0.16271,
    "h": 268.7
  },
  "luminance": 0.04031
}

Semantic roles & 50–950 ramp

primary
#1C2C8F
secondary
#BEAD49
accent
#D23EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #1C2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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