#1C317D#1C317D

#1C317D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.131 H 267.3°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#1C317D
RGBrgb(28, 49, 125)
HSLhsl(227, 63%, 30%)
HSVhsv(227, 78%, 49%)
CMYKcmyk(77.6%, 60.8%, 0%, 51%)
CIE-LABlab(23.42, 20.85, -45.50)
CIE-LCHlch(23.42, 50.05, 294.62°)
OKLaboklab(34.77% -0.0063 -0.1313)
OKLCHoklch(34.77% 0.131 267.3)
XYZxyz(5.2776, 3.9236, 19.8772)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C317D #7D681C
analogous
#1C627D #1C317D #371C7D
triadic
#1C317D #7D1C31 #317D1C
tetradic
#1C317D #7D1C62 #7D681C #1C7D37
square
#1C317D #7D1C62 #7D681C #1C7D37
split-complementary
#1C317D #7D371C #627D1C
monochromatic
#060A19 #111D4B #1C317D #2745AF #3F60D4

Accessibility & contrast

On white

11.77
#1C317D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1C317D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C317D
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C317D#FFFFFF#000000##FFFFFF
##1C317D1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1c317d;
/* rgb */ color: rgb(28, 49, 125);
/* oklch */ color: oklch(34.8% 0.131 267.3);
Tailwind
colors: {
  custom: {
    50: '#6868a3',
    500: '#1c317d',
    950: '#000000',
  },
}
SCSS
$custom: #1c317d;
$custom-light: #6868a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c317d",
  "rgb": {
    "r": 28,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 227.01,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.34767,
    "c": 0.13149,
    "h": 267.3
  },
  "luminance": 0.03924
}

Semantic roles & 50–950 ramp

primary
#1C317D
secondary
#B19944
accent
#C341E6
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1C317D

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

Preview Lab → · Contrast checker → · Palette generator →

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