#1C1985#1C1985

#1C1985 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.170 H 272.1°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#1C1985
RGBrgb(28, 25, 133)
HSLhsl(242, 68%, 31%)
HSVhsv(242, 81%, 52%)
CMYKcmyk(78.9%, 81.2%, 0%, 47.8%)
CIE-LABlab(18.52, 39.29, -58.60)
CIE-LCHlch(18.52, 70.55, 303.84°)
OKLaboklab(31.46% 0.0062 -0.1696)
OKLCHoklch(31.46% 0.17 272.1)
XYZxyz(5.0587, 2.6350, 22.4278)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1985 #828519
analogous
#194C85 #1C1985 #521985
triadic
#1C1985 #851C19 #19851C
tetradic
#1C1985 #85194C #828519 #198552
square
#1C1985 #85194C #828519 #198552
split-complementary
#1C1985 #855219 #4C8519
monochromatic
#06061E #110F51 #1C1985 #2723B9 #423EDB

Accessibility & contrast

On white

13.75
#1C1985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1C1985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1985
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1985#FFFFFF#000000##FFFFFF
##1C19851.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002883
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1c1985;
/* rgb */ color: rgb(28, 25, 133);
/* oklch */ color: oklch(31.5% 0.170 272.1);
Tailwind
colors: {
  custom: {
    50: '#6d58aa',
    500: '#1c1985',
    950: '#000000',
  },
}
SCSS
$custom: #1c1985;
$custom-light: #6d58aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1985",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 241.667,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31463,
    "c": 0.16972,
    "h": 272.1
  },
  "luminance": 0.02636
}

Semantic roles & 50–950 ramp

primary
#1C1985
secondary
#B5B941
accent
#EB3DE6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1C1985

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

Preview Lab → · Contrast checker → · Palette generator →

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