#1C339E#1C339E

#1C339E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.174 H 267.3°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#1C339E
RGBrgb(28, 51, 158)
HSLhsl(229, 70%, 36%)
HSVhsv(229, 82%, 62%)
CMYKcmyk(82.3%, 67.7%, 0%, 38%)
CIE-LABlab(26.97, 32.37, -60.14)
CIE-LCHlch(26.97, 68.30, 298.29°)
OKLaboklab(38.32% -0.0082 -0.1742)
OKLCHoklch(38.32% 0.174 267.3)
XYZxyz(7.8321, 5.0822, 32.9093)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C339E #9E871C
analogous
#1C749E #1C339E #461C9E
triadic
#1C339E #9E1C33 #339E1C
tetradic
#1C339E #9E1C74 #9E871C #1C9E46
square
#1C339E #9E1C74 #9E871C #1C9E46
split-complementary
#1C339E #9E461C #749E1C
monochromatic
#0A1136 #13226A #1C339E #2544D2 #546DE1

Accessibility & contrast

On white

10.41
#1C339E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#1C339E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C339E
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C339E#FFFFFF#000000##FFFFFF
##1C339E1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1c339e;
/* rgb */ color: rgb(28, 51, 158);
/* oklch */ color: oklch(38.3% 0.174 267.3);
Tailwind
colors: {
  custom: {
    50: '#716abc',
    500: '#1c339e',
    950: '#000000',
  },
}
SCSS
$custom: #1c339e;
$custom-light: #716abc;
$custom-dark: #000000;
JSON
{
  "hex": "#1c339e",
  "rgb": {
    "r": 28,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 229.385,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3832,
    "c": 0.17438,
    "h": 267.3
  },
  "luminance": 0.05083
}

Semantic roles & 50–950 ramp

primary
#1C339E
secondary
#C4B052
accent
#CD3BED
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1C339E

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

Preview Lab → · Contrast checker → · Palette generator →

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