#1C2E81#1C2E81

#1C2E81 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.141 H 268.3°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#1C2E81
RGBrgb(28, 46, 129)
HSLhsl(229, 64%, 31%)
HSVhsv(229, 78%, 51%)
CMYKcmyk(78.3%, 64.3%, 0%, 49.4%)
CIE-LABlab(22.95, 24.54, -48.78)
CIE-LCHlch(22.95, 54.61, 296.70°)
OKLaboklab(34.53% -0.0041 -0.141)
OKLCHoklch(34.53% 0.141 268.3)
XYZxyz(5.4170, 3.7853, 21.2098)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2E81 #816F1C
analogous
#1C6081 #1C2E81 #3C1C81
triadic
#1C2E81 #811C2E #2E811C
tetradic
#1C2E81 #811C60 #816F1C #1C813C
square
#1C2E81 #811C60 #816F1C #1C813C
split-complementary
#1C2E81 #813C1C #60811C
monochromatic
#060A1C #111C4F #1C2E81 #2740B3 #425CD6

Accessibility & contrast

On white

11.95
#1C2E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1C2E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2E81
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2E81#FFFFFF#000000##FFFFFF
##1C2E811.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C84
Deuteranopia (green-blind)
#00327F
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1c2e81;
/* rgb */ color: rgb(28, 46, 129);
/* oklch */ color: oklch(34.5% 0.141 268.3);
Tailwind
colors: {
  custom: {
    50: '#6966a6',
    500: '#1c2e81',
    950: '#000000',
  },
}
SCSS
$custom: #1c2e81;
$custom-light: #6966a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2e81",
  "rgb": {
    "r": 28,
    "g": 46,
    "b": 129
  },
  "hsl": {
    "h": 229.307,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34529,
    "c": 0.14109,
    "h": 268.3
  },
  "luminance": 0.03786
}

Semantic roles & 50–950 ramp

primary
#1C2E81
secondary
#B4A044
accent
#CA40E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1C2E81

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

Preview Lab → · Contrast checker → · Palette generator →

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