#1C2D8F#1C2D8F

#1C2D8F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.162 H 268.5°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#1C2D8F
RGBrgb(28, 45, 143)
HSLhsl(231, 67%, 34%)
HSVhsv(231, 80%, 56%)
CMYKcmyk(80.4%, 68.5%, 0%, 43.9%)
CIE-LABlab(24.02, 30.64, -55.77)
CIE-LCHlch(24.02, 63.64, 298.78°)
OKLaboklab(35.72% -0.0041 -0.1615)
OKLCHoklch(35.72% 0.162 268.5)
XYZxyz(6.3735, 4.1061, 26.4379)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2D8F #8F7E1C
analogous
#1C668F #1C2D8F #441C8F
triadic
#1C2D8F #8F1C2D #2D8F1C
tetradic
#1C2D8F #8F1C66 #8F7E1C #1C8F44
square
#1C2D8F #8F1C66 #8F7E1C #1C8F44
split-complementary
#1C2D8F #8F441C #668F1C
monochromatic
#080D29 #121D5C #1C2D8F #263DC2 #4A5FDC

Accessibility & contrast

On white

11.53
#1C2D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1C2D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2D8F
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2D8F#FFFFFF#000000##FFFFFF
##1C2D8F1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1c2d8f;
/* rgb */ color: rgb(28, 45, 143);
/* oklch */ color: oklch(35.7% 0.162 268.5);
Tailwind
colors: {
  custom: {
    50: '#6d66b1',
    500: '#1c2d8f',
    950: '#000000',
  },
}
SCSS
$custom: #1c2d8f;
$custom-light: #6d66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2d8f",
  "rgb": {
    "r": 28,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 231.13,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35722,
    "c": 0.16153,
    "h": 268.5
  },
  "luminance": 0.04107
}

Semantic roles & 50–950 ramp

primary
#1C2D8F
secondary
#BEAC49
accent
#D13EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1C2D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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