#1C2D97#1C2D97

#1C2D97 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.172 H 268.4°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#1C2D97
RGBrgb(28, 45, 151)
HSLhsl(232, 69%, 35%)
HSVhsv(232, 81%, 59%)
CMYKcmyk(81.5%, 70.2%, 0%, 40.8%)
CIE-LABlab(24.82, 33.65, -59.39)
CIE-LCHlch(24.82, 68.27, 299.54°)
OKLaboklab(36.55% -0.0048 -0.172)
OKLCHoklch(36.55% 0.172 268.4)
XYZxyz(7.0013, 4.3572, 29.7442)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2D97 #97861C
analogous
#1C6B97 #1C2D97 #481C97
triadic
#1C2D97 #971C2D #2D971C
tetradic
#1C2D97 #971C6B #97861C #1C9748
square
#1C2D97 #971C6B #97861C #1C9748
split-complementary
#1C2D97 #97481C #6B971C
monochromatic
#090E30 #121E63 #1C2D97 #263CCB #4F63DE

Accessibility & contrast

On white

11.22
#1C2D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1C2D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2D97
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2D97#FFFFFF#000000##FFFFFF
##1C2D971.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003595
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1c2d97;
/* rgb */ color: rgb(28, 45, 151);
/* oklch */ color: oklch(36.5% 0.172 268.4);
Tailwind
colors: {
  custom: {
    50: '#6f66b7',
    500: '#1c2d97',
    950: '#000000',
  },
}
SCSS
$custom: #1c2d97;
$custom-light: #6f66b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2d97",
  "rgb": {
    "r": 28,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 231.707,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36545,
    "c": 0.17212,
    "h": 268.4
  },
  "luminance": 0.04358
}

Semantic roles & 50–950 ramp

primary
#1C2D97
secondary
#C1B14E
accent
#D33CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1C2D97

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

Preview Lab → · Contrast checker → · Palette generator →

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