#1C2E8D#1C2E8D

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

Color values

HEX#1C2E8D
RGBrgb(28, 46, 141)
HSLhsl(230, 67%, 33%)
HSVhsv(230, 80%, 55%)
CMYKcmyk(80.1%, 67.4%, 0%, 44.7%)
CIE-LABlab(24.07, 29.21, -54.44)
CIE-LCHlch(24.07, 61.78, 298.21°)
OKLaboklab(35.7% -0.0046 -0.1576)
OKLCHoklch(35.7% 0.158 268.3)
XYZxyz(6.2619, 4.1232, 25.6600)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2E8D #8D7B1C
analogous
#1C678D #1C2E8D #421C8D
triadic
#1C2E8D #8D1C2E #2E8D1C
tetradic
#1C2E8D #8D1C67 #8D7B1C #1C8D42
square
#1C2E8D #8D1C67 #8D7B1C #1C8D42
split-complementary
#1C2E8D #8D421C #678D1C
monochromatic
#080D27 #121D5A #1C2E8D #263FC0 #4960DB

Accessibility & contrast

On white

11.51
#1C2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2E8D
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2E8D#FFFFFF#000000##FFFFFF
##1C2E8D1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1c2e8d;
/* rgb */ color: rgb(28, 46, 141);
/* oklch */ color: oklch(35.7% 0.158 268.3);
Tailwind
colors: {
  custom: {
    50: '#6d66af',
    500: '#1c2e8d',
    950: '#000000',
  },
}
SCSS
$custom: #1c2e8d;
$custom-light: #6d66af;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2e8d",
  "rgb": {
    "r": 28,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 230.442,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35703,
    "c": 0.15766,
    "h": 268.3
  },
  "luminance": 0.04124
}

Semantic roles & 50–950 ramp

primary
#1C2E8D
secondary
#BDAA48
accent
#CE3EEA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1C2E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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