#1C2A8D#1C2A8D

#1C2A8D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.162 H 269.1°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#1C2A8D
RGBrgb(28, 42, 141)
HSLhsl(233, 67%, 33%)
HSVhsv(233, 80%, 55%)
CMYKcmyk(80.1%, 70.2%, 0%, 44.7%)
CIE-LABlab(23.08, 31.86, -56.07)
CIE-LCHlch(23.08, 64.49, 299.60°)
OKLaboklab(34.98% -0.0024 -0.1624)
OKLCHoklch(34.98% 0.162 269.1)
XYZxyz(6.1129, 3.8252, 25.6103)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2A8D #8D7F1C
analogous
#1C628D #1C2A8D #461C8D
triadic
#1C2A8D #8D1C2A #2A8D1C
tetradic
#1C2A8D #8D1C62 #8D7F1C #1C8D46
square
#1C2A8D #8D1C62 #8D7F1C #1C8D46
split-complementary
#1C2A8D #8D461C #628D1C
monochromatic
#080C27 #121B5A #1C2A8D #2639C0 #495BDB

Accessibility & contrast

On white

11.90
#1C2A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1C2A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2A8D
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2A8D#FFFFFF#000000##FFFFFF
##1C2A8D1.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00328B
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1c2a8d;
/* rgb */ color: rgb(28, 42, 141);
/* oklch */ color: oklch(35.0% 0.162 269.1);
Tailwind
colors: {
  custom: {
    50: '#6d64af',
    500: '#1c2a8d',
    950: '#000000',
  },
}
SCSS
$custom: #1c2a8d;
$custom-light: #6d64af;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2a8d",
  "rgb": {
    "r": 28,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 232.566,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34982,
    "c": 0.16238,
    "h": 269.1
  },
  "luminance": 0.03826
}

Semantic roles & 50–950 ramp

primary
#1C2A8D
secondary
#BDAE48
accent
#D43EEA
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #1C2A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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