#1C2985#1C2985

#1C2985 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.153 H 269.6°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#1C2985
RGBrgb(28, 41, 133)
HSLhsl(233, 65%, 32%)
HSVhsv(233, 79%, 52%)
CMYKcmyk(78.9%, 69.2%, 0%, 47.8%)
CIE-LABlab(22.04, 29.49, -52.79)
CIE-LCHlch(22.04, 60.47, 299.19°)
OKLaboklab(33.98% -0.0012 -0.1528)
OKLCHoklch(33.98% 0.153 269.6)
XYZxyz(5.5040, 3.5256, 22.5762)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2985 #85781C
analogous
#1C5E85 #1C2985 #441C85
triadic
#1C2985 #851C29 #29851C
tetradic
#1C2985 #851C5E #85781C #1C8544
square
#1C2985 #851C5E #85781C #1C8544
split-complementary
#1C2985 #85441C #5E851C
monochromatic
#070A20 #111952 #1C2985 #2739B8 #4456D8

Accessibility & contrast

On white

12.32
#1C2985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1C2985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2985
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2985#FFFFFF#000000##FFFFFF
##1C29851.0012.321.7112.32
#FFFFFF12.321.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c2985;
/* rgb */ color: rgb(28, 41, 133);
/* oklch */ color: oklch(34.0% 0.153 269.6);
Tailwind
colors: {
  custom: {
    50: '#6b63a9',
    500: '#1c2985',
    950: '#000000',
  },
}
SCSS
$custom: #1c2985;
$custom-light: #6b63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2985",
  "rgb": {
    "r": 28,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 232.571,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33977,
    "c": 0.1528,
    "h": 269.6
  },
  "luminance": 0.03526
}

Semantic roles & 50–950 ramp

primary
#1C2985
secondary
#B8AA45
accent
#D340E8
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1C2985

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

Preview Lab → · Contrast checker → · Palette generator →

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