#1C318E#1C318E

#1C318E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.155 H 267.7°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#1C318E
RGBrgb(28, 49, 142)
HSLhsl(229, 67%, 33%)
HSVhsv(229, 80%, 56%)
CMYKcmyk(80.3%, 65.5%, 0%, 44.3%)
CIE-LABlab(24.94, 27.57, -53.64)
CIE-LCHlch(24.94, 60.31, 297.20°)
OKLaboklab(36.37% -0.0063 -0.1552)
OKLCHoklch(36.37% 0.155 267.7)
XYZxyz(6.4580, 4.3958, 26.0940)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C318E #8E791C
analogous
#1C6A8E #1C318E #401C8E
triadic
#1C318E #8E1C31 #318E1C
tetradic
#1C318E #8E1C6A #8E791C #1C8E40
square
#1C318E #8E1C6A #8E791C #1C8E40
split-complementary
#1C318E #8E401C #6A8E1C
monochromatic
#080E28 #121F5B #1C318E #2643C1 #4964DB

Accessibility & contrast

On white

11.17
#1C318E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1C318E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C318E
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C318E#FFFFFF#000000##FFFFFF
##1C318E1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1c318e;
/* rgb */ color: rgb(28, 49, 142);
/* oklch */ color: oklch(36.4% 0.155 267.7);
Tailwind
colors: {
  custom: {
    50: '#6d69b0',
    500: '#1c318e',
    950: '#000000',
  },
}
SCSS
$custom: #1c318e;
$custom-light: #6d69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c318e",
  "rgb": {
    "r": 28,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 228.947,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36367,
    "c": 0.15536,
    "h": 267.7
  },
  "luminance": 0.04396
}

Semantic roles & 50–950 ramp

primary
#1C318E
secondary
#BDA849
accent
#CA3EEA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1C318E

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

Preview Lab → · Contrast checker → · Palette generator →

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