#1C1964#1C1964

#1C1964 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.7% C 0.126 H 276.0°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#1C1964
RGBrgb(28, 25, 100)
HSLhsl(242, 60%, 25%)
HSVhsv(242, 75%, 39%)
CMYKcmyk(72%, 75%, 0%, 60.8%)
CIE-LABlab(14.75, 27.67, -43.54)
CIE-LCHlch(14.75, 51.59, 302.44°)
OKLaboklab(27.68% 0.0132 -0.1258)
OKLCHoklch(27.68% 0.126 276)
XYZxyz(3.1260, 1.8620, 12.2488)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1964 #616419
analogous
#193C64 #1C1964 #421964
triadic
#1C1964 #641C19 #19641C
tetradic
#1C1964 #64193C #616419 #196442
square
#1C1964 #64193C #616419 #196442
split-complementary
#1C1964 #644219 #3C6419
monochromatic
#070618 #0E0D33 #1C1964 #2A2595 #3731C6

Accessibility & contrast

On white

15.30
#1C1964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1C1964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1964
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1964#FFFFFF#000000##FFFFFF
##1C19641.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002866
Deuteranopia (green-blind)
#002263
Tritanopia (blue-blind)
#002E3C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1c1964;
/* rgb */ color: rgb(28, 25, 100);
/* oklch */ color: oklch(27.7% 0.126 276.0);
Tailwind
colors: {
  custom: {
    50: '#645691',
    500: '#1c1964',
    950: '#000000',
  },
}
SCSS
$custom: #1c1964;
$custom-light: #645691;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1964",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 242.4,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27678,
    "c": 0.12647,
    "h": 276
  },
  "luminance": 0.01862
}

Semantic roles & 50–950 ramp

primary
#1C1964
secondary
#969A3F
accent
#E345DD
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1C1964

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

Preview Lab → · Contrast checker → · Palette generator →

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