#1C319F#1C319F

#1C319F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.178 H 267.7°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#1C319F
RGBrgb(28, 49, 159)
HSLhsl(230, 70%, 37%)
HSVhsv(230, 82%, 62%)
CMYKcmyk(82.4%, 69.2%, 0%, 37.6%)
CIE-LABlab(26.58, 34.05, -61.38)
CIE-LCHlch(26.58, 70.20, 299.02°)
OKLaboklab(38.07% -0.0073 -0.1778)
OKLCHoklch(38.07% 0.178 267.7)
XYZxyz(7.8330, 4.9458, 33.3360)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C319F #9F8A1C
analogous
#1C739F #1C319F #491C9F
triadic
#1C319F #9F1C31 #319F1C
tetradic
#1C319F #9F1C73 #9F8A1C #1C9F49
square
#1C319F #9F1C73 #9F8A1C #1C9F49
split-complementary
#1C319F #9F491C #739F1C
monochromatic
#0A1137 #13216B #1C319F #2541D3 #546BE1

Accessibility & contrast

On white

10.56
#1C319F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1C319F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C319F
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C319F#FFFFFF#000000##FFFFFF
##1C319F1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1c319f;
/* rgb */ color: rgb(28, 49, 159);
/* oklch */ color: oklch(38.1% 0.178 267.7);
Tailwind
colors: {
  custom: {
    50: '#7169bc',
    500: '#1c319f',
    950: '#000000',
  },
}
SCSS
$custom: #1c319f;
$custom-light: #7169bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1c319f",
  "rgb": {
    "r": 28,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 230.382,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38067,
    "c": 0.17799,
    "h": 267.7
  },
  "luminance": 0.04947
}

Semantic roles & 50–950 ramp

primary
#1C319F
secondary
#C4B253
accent
#D03BED
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1C319F

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

Preview Lab → · Contrast checker → · Palette generator →

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