#1C2E8E#1C2E8E

#1C2E8E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.159 H 268.3°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#1C2E8E
RGBrgb(28, 46, 142)
HSLhsl(231, 67%, 33%)
HSVhsv(231, 80%, 56%)
CMYKcmyk(80.3%, 67.6%, 0%, 44.3%)
CIE-LABlab(24.17, 29.59, -54.90)
CIE-LCHlch(24.17, 62.37, 298.32°)
OKLaboklab(35.8% -0.0046 -0.1589)
OKLCHoklch(35.8% 0.159 268.3)
XYZxyz(6.3367, 4.1531, 26.0536)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2E8E #8E7C1C
analogous
#1C678E #1C2E8E #431C8E
triadic
#1C2E8E #8E1C2E #2E8E1C
tetradic
#1C2E8E #8E1C67 #8E7C1C #1C8E43
square
#1C2E8E #8E1C67 #8E7C1C #1C8E43
split-complementary
#1C2E8E #8E431C #678E1C
monochromatic
#080D28 #121D5B #1C2E8E #263FC1 #4960DB

Accessibility & contrast

On white

11.47
#1C2E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1C2E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2E8E
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2E8E#FFFFFF#000000##FFFFFF
##1C2E8E1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c2e8e;
/* rgb */ color: rgb(28, 46, 142);
/* oklch */ color: oklch(35.8% 0.159 268.3);
Tailwind
colors: {
  custom: {
    50: '#6d66b0',
    500: '#1c2e8e',
    950: '#000000',
  },
}
SCSS
$custom: #1c2e8e;
$custom-light: #6d66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2e8e",
  "rgb": {
    "r": 28,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 230.526,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35803,
    "c": 0.15901,
    "h": 268.3
  },
  "luminance": 0.04154
}

Semantic roles & 50–950 ramp

primary
#1C2E8E
secondary
#BDAB49
accent
#CF3EEA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1C2E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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