#1C2A8F#1C2A8F

#1C2A8F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.165 H 269.1°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#1C2A8F
RGBrgb(28, 42, 143)
HSLhsl(233, 67%, 34%)
HSVhsv(233, 80%, 56%)
CMYKcmyk(80.4%, 70.6%, 0%, 43.9%)
CIE-LABlab(23.29, 32.61, -56.98)
CIE-LCHlch(23.29, 65.65, 299.78°)
OKLaboklab(35.19% -0.0026 -0.165)
OKLCHoklch(35.19% 0.165 269.1)
XYZxyz(6.2631, 3.8853, 26.4011)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2A8F #8F811C
analogous
#1C638F #1C2A8F #471C8F
triadic
#1C2A8F #8F1C2A #2A8F1C
tetradic
#1C2A8F #8F1C63 #8F811C #1C8F47
square
#1C2A8F #8F1C63 #8F811C #1C8F47
split-complementary
#1C2A8F #8F471C #638F1C
monochromatic
#080C29 #121B5C #1C2A8F #2639C2 #4A5CDC

Accessibility & contrast

On white

11.82
#1C2A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1C2A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2A8F
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2A8F#FFFFFF#000000##FFFFFF
##1C2A8F1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00328D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1c2a8f;
/* rgb */ color: rgb(28, 42, 143);
/* oklch */ color: oklch(35.2% 0.165 269.1);
Tailwind
colors: {
  custom: {
    50: '#6e64b1',
    500: '#1c2a8f',
    950: '#000000',
  },
}
SCSS
$custom: #1c2a8f;
$custom-light: #6e64b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2a8f",
  "rgb": {
    "r": 28,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 232.696,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35191,
    "c": 0.16502,
    "h": 269.1
  },
  "luminance": 0.03886
}

Semantic roles & 50–950 ramp

primary
#1C2A8F
secondary
#BEAF49
accent
#D53EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #1C2A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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