#1C2A97#1C2A97

#1C2A97 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.175 H 268.9°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#1C2A97
RGBrgb(28, 42, 151)
HSLhsl(233, 69%, 35%)
HSVhsv(233, 81%, 59%)
CMYKcmyk(81.5%, 72.2%, 0%, 40.8%)
CIE-LABlab(24.12, 35.57, -60.55)
CIE-LCHlch(24.12, 70.22, 300.43°)
OKLaboklab(36.04% -0.0034 -0.1754)
OKLCHoklch(36.04% 0.175 268.9)
XYZxyz(6.8908, 4.1364, 29.7074)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2A97 #97891C
analogous
#1C6797 #1C2A97 #4C1C97
triadic
#1C2A97 #971C2A #2A971C
tetradic
#1C2A97 #971C67 #97891C #1C974C
square
#1C2A97 #971C67 #97891C #1C974C
split-complementary
#1C2A97 #974C1C #67971C
monochromatic
#090D30 #121C63 #1C2A97 #2638CB #4F5FDE

Accessibility & contrast

On white

11.49
#1C2A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1C2A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2A97
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2A97#FFFFFF#000000##FFFFFF
##1C2A971.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003395
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1c2a97;
/* rgb */ color: rgb(28, 42, 151);
/* oklch */ color: oklch(36.0% 0.175 268.9);
Tailwind
colors: {
  custom: {
    50: '#7064b7',
    500: '#1c2a97',
    950: '#000000',
  },
}
SCSS
$custom: #1c2a97;
$custom-light: #7064b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2a97",
  "rgb": {
    "r": 28,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 233.171,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36038,
    "c": 0.17544,
    "h": 268.9
  },
  "luminance": 0.04137
}

Semantic roles & 50–950 ramp

primary
#1C2A97
secondary
#C1B44E
accent
#D83CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #1C2A97

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

Preview Lab → · Contrast checker → · Palette generator →

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