#1C1966#1C1966

#1C1966 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.9% C 0.129 H 275.7°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#1C1966
RGBrgb(28, 25, 102)
HSLhsl(242, 61%, 25%)
HSVhsv(242, 75%, 40%)
CMYKcmyk(72.5%, 75.5%, 0%, 60%)
CIE-LABlab(14.96, 28.41, -44.51)
CIE-LCHlch(14.96, 52.80, 302.55°)
OKLaboklab(27.9% 0.0129 -0.1286)
OKLCHoklch(27.9% 0.129 275.7)
XYZxyz(3.2240, 1.9012, 12.7649)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1966 #636619
analogous
#193C66 #1C1966 #431966
triadic
#1C1966 #661C19 #19661C
tetradic
#1C1966 #66193C #636619 #196643
square
#1C1966 #66193C #636619 #196643
split-complementary
#1C1966 #664319 #3C6619
monochromatic
#070619 #0F0D35 #1C1966 #292597 #3731C8

Accessibility & contrast

On white

15.22
#1C1966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1C1966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1966
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1966#FFFFFF#000000##FFFFFF
##1C19661.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002968
Deuteranopia (green-blind)
#002265
Tritanopia (blue-blind)
#002E3D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1c1966;
/* rgb */ color: rgb(28, 25, 102);
/* oklch */ color: oklch(27.9% 0.129 275.7);
Tailwind
colors: {
  custom: {
    50: '#645693',
    500: '#1c1966',
    950: '#000000',
  },
}
SCSS
$custom: #1c1966;
$custom-light: #645693;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1966",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 242.338,
    "s": 60.63,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27896,
    "c": 0.12925,
    "h": 275.7
  },
  "luminance": 0.01901
}

Semantic roles & 50–950 ramp

primary
#1C1966
secondary
#989C3F
accent
#E444DE
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1C1966

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

Preview Lab → · Contrast checker → · Palette generator →

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