#1C318A#1C318A

#1C318A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.150 H 267.6°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#1C318A
RGBrgb(28, 49, 138)
HSLhsl(229, 66%, 33%)
HSVhsv(229, 80%, 54%)
CMYKcmyk(79.7%, 64.5%, 0%, 45.9%)
CIE-LABlab(24.57, 26.01, -51.77)
CIE-LCHlch(24.57, 57.93, 296.67°)
OKLaboklab(35.98% -0.0062 -0.1497)
OKLCHoklch(35.98% 0.15 267.6)
XYZxyz(6.1631, 4.2778, 24.5407)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C318A #8A751C
analogous
#1C688A #1C318A #3E1C8A
triadic
#1C318A #8A1C31 #318A1C
tetradic
#1C318A #8A1C68 #8A751C #1C8A3E
square
#1C318A #8A1C68 #8A751C #1C8A3E
split-complementary
#1C318A #8A3E1C #688A1C
monochromatic
#070D24 #121F57 #1C318A #2643BD #4763DA

Accessibility & contrast

On white

11.32
#1C318A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1C318A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C318A
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C318A#FFFFFF#000000##FFFFFF
##1C318A1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1c318a;
/* rgb */ color: rgb(28, 49, 138);
/* oklch */ color: oklch(36.0% 0.150 267.6);
Tailwind
colors: {
  custom: {
    50: '#6b68ad',
    500: '#1c318a',
    950: '#000000',
  },
}
SCSS
$custom: #1c318a;
$custom-light: #6b68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c318a",
  "rgb": {
    "r": 28,
    "g": 49,
    "b": 138
  },
  "hsl": {
    "h": 228.545,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3598,
    "c": 0.14986,
    "h": 267.6
  },
  "luminance": 0.04278
}

Semantic roles & 50–950 ramp

primary
#1C318A
secondary
#BBA546
accent
#C93FE9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1C318A

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

Preview Lab → · Contrast checker → · Palette generator →

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