#1C2E8A#1C2E8A

#1C2E8A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.154 H 268.4°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#1C2E8A
RGBrgb(28, 46, 138)
HSLhsl(230, 66%, 33%)
HSVhsv(230, 80%, 54%)
CMYKcmyk(79.7%, 66.7%, 0%, 45.9%)
CIE-LABlab(23.79, 28.05, -53.05)
CIE-LCHlch(23.79, 60.01, 297.87°)
OKLaboklab(35.41% -0.0044 -0.1535)
OKLCHoklch(35.41% 0.154 268.4)
XYZxyz(6.0417, 4.0352, 24.5003)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2E8A #8A781C
analogous
#1C658A #1C2E8A #411C8A
triadic
#1C2E8A #8A1C2E #2E8A1C
tetradic
#1C2E8A #8A1C65 #8A781C #1C8A41
square
#1C2E8A #8A1C65 #8A781C #1C8A41
split-complementary
#1C2E8A #8A411C #658A1C
monochromatic
#070C24 #121D57 #1C2E8A #263FBD #475FDA

Accessibility & contrast

On white

11.62
#1C2E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2E8A
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2E8A#FFFFFF#000000##FFFFFF
##1C2E8A1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003388
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1c2e8a;
/* rgb */ color: rgb(28, 46, 138);
/* oklch */ color: oklch(35.4% 0.154 268.4);
Tailwind
colors: {
  custom: {
    50: '#6c66ad',
    500: '#1c2e8a',
    950: '#000000',
  },
}
SCSS
$custom: #1c2e8a;
$custom-light: #6c66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2e8a",
  "rgb": {
    "r": 28,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 230.182,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35405,
    "c": 0.15357,
    "h": 268.4
  },
  "luminance": 0.04036
}

Semantic roles & 50–950 ramp

primary
#1C2E8A
secondary
#BBA846
accent
#CD3FE9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1C2E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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