#1C2AA1#1C2AA1

#1C2AA1 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.188 H 268.6°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#1C2AA1
RGBrgb(28, 42, 161)
HSLhsl(234, 70%, 37%)
HSVhsv(234, 83%, 63%)
CMYKcmyk(82.6%, 73.9%, 0%, 36.9%)
CIE-LABlab(25.18, 39.19, -64.90)
CIE-LCHlch(25.18, 75.81, 301.12°)
OKLaboklab(37.12% -0.0047 -0.1881)
OKLCHoklch(37.12% 0.188 268.6)
XYZxyz(7.7377, 4.4751, 34.1673)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2AA1 #A1931C
analogous
#1C6DA1 #1C2AA1 #501CA1
triadic
#1C2AA1 #A11C2A #2AA11C
tetradic
#1C2AA1 #A11C6D #A1931C #1CA150
square
#1C2AA1 #A11C6D #A1931C #1CA150
split-complementary
#1C2AA1 #A1501C #6DA11C
monochromatic
#0A0F39 #131C6D #1C2AA1 #2538D5 #5665E2

Accessibility & contrast

On white

11.08
#1C2AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1C2AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2AA1
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2AA1#FFFFFF#000000##FFFFFF
##1C2AA11.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A5
Deuteranopia (green-blind)
#00359F
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1c2aa1;
/* rgb */ color: rgb(28, 42, 161);
/* oklch */ color: oklch(37.1% 0.188 268.6);
Tailwind
colors: {
  custom: {
    50: '#7264be',
    500: '#1c2aa1',
    950: '#000000',
  },
}
SCSS
$custom: #1c2aa1;
$custom-light: #7264be;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2aa1",
  "rgb": {
    "r": 28,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 233.684,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37121,
    "c": 0.18813,
    "h": 268.6
  },
  "luminance": 0.04476
}

Semantic roles & 50–950 ramp

primary
#1C2AA1
secondary
#C5B954
accent
#DA3BED
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #1C2AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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