#1C1968#1C1968

#1C1968 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.132 H 275.4°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#1C1968
RGBrgb(28, 25, 104)
HSLhsl(242, 61%, 25%)
HSVhsv(242, 76%, 41%)
CMYKcmyk(73.1%, 76%, 0%, 59.2%)
CIE-LABlab(15.18, 29.14, -45.47)
CIE-LCHlch(15.18, 54.00, 302.65°)
OKLaboklab(28.12% 0.0125 -0.1314)
OKLCHoklch(28.12% 0.132 275.4)
XYZxyz(3.3244, 1.9413, 13.2935)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1968 #656819
analogous
#193E68 #1C1968 #431968
triadic
#1C1968 #681C19 #19681C
tetradic
#1C1968 #68193E #656819 #196843
square
#1C1968 #68193E #656819 #196843
split-complementary
#1C1968 #684319 #3E6819
monochromatic
#070619 #0F0D37 #1C1968 #292599 #3731CB

Accessibility & contrast

On white

15.13
#1C1968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1C1968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1968
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1968#FFFFFF#000000##FFFFFF
##1C19681.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6A
Deuteranopia (green-blind)
#002267
Tritanopia (blue-blind)
#002F3E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1c1968;
/* rgb */ color: rgb(28, 25, 104);
/* oklch */ color: oklch(28.1% 0.132 275.4);
Tailwind
colors: {
  custom: {
    50: '#655694',
    500: '#1c1968',
    950: '#000000',
  },
}
SCSS
$custom: #1c1968;
$custom-light: #655694;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1968",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 242.278,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28116,
    "c": 0.132,
    "h": 275.4
  },
  "luminance": 0.01942
}

Semantic roles & 50–950 ramp

primary
#1C1968
secondary
#9A9E3F
accent
#E443DE
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1C1968

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

Preview Lab → · Contrast checker → · Palette generator →

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