#1C39A1#1C39A1

#1C39A1 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.171 H 266.2°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#1C39A1
RGBrgb(28, 57, 161)
HSLhsl(227, 70%, 37%)
HSVhsv(227, 83%, 63%)
CMYKcmyk(82.6%, 64.6%, 0%, 36.9%)
CIE-LABlab(28.76, 29.54, -59.02)
CIE-LCHlch(28.76, 66.00, 296.59°)
OKLaboklab(39.72% -0.0113 -0.1709)
OKLCHoklch(39.72% 0.171 266.2)
XYZxyz(8.3728, 5.7453, 34.3790)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C39A1 #A1841C
analogous
#1C7CA1 #1C39A1 #411CA1
triadic
#1C39A1 #A11C39 #39A11C
tetradic
#1C39A1 #A11C7C #A1841C #1CA141
square
#1C39A1 #A11C7C #A1841C #1CA141
split-complementary
#1C39A1 #A1411C #7CA11C
monochromatic
#0A1439 #13276D #1C39A1 #254BD5 #5674E2

Accessibility & contrast

On white

9.77
#1C39A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1C39A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C39A1
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C39A1#FFFFFF#000000##FFFFFF
##1C39A11.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA4
Deuteranopia (green-blind)
#003E9F
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1c39a1;
/* rgb */ color: rgb(28, 57, 161);
/* oklch */ color: oklch(39.7% 0.171 266.2);
Tailwind
colors: {
  custom: {
    50: '#716fbe',
    500: '#1c39a1',
    950: '#000000',
  },
}
SCSS
$custom: #1c39a1;
$custom-light: #716fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#1c39a1",
  "rgb": {
    "r": 28,
    "g": 57,
    "b": 161
  },
  "hsl": {
    "h": 226.917,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39723,
    "c": 0.17124,
    "h": 266.2
  },
  "luminance": 0.05746
}

Semantic roles & 50–950 ramp

primary
#1C39A1
secondary
#C5AC54
accent
#C63BED
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1C39A1

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

Preview Lab → · Contrast checker → · Palette generator →

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