#1C339F#1C339F

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

Color values

HEX#1C339F
RGBrgb(28, 51, 159)
HSLhsl(229, 70%, 37%)
HSVhsv(229, 82%, 62%)
CMYKcmyk(82.4%, 67.9%, 0%, 37.6%)
CIE-LABlab(27.07, 32.75, -60.59)
CIE-LCHlch(27.07, 68.87, 298.39°)
OKLaboklab(38.42% -0.0082 -0.1755)
OKLCHoklch(38.42% 0.176 267.3)
XYZxyz(7.9185, 5.1168, 33.3645)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C339F #9F881C
analogous
#1C759F #1C339F #471C9F
triadic
#1C339F #9F1C33 #339F1C
tetradic
#1C339F #9F1C75 #9F881C #1C9F47
square
#1C339F #9F1C75 #9F881C #1C9F47
split-complementary
#1C339F #9F471C #759F1C
monochromatic
#0A1237 #13226B #1C339F #2544D3 #546DE1

Accessibility & contrast

On white

10.38
#1C339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C339F
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C339F#FFFFFF#000000##FFFFFF
##1C339F1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c339f;
/* rgb */ color: rgb(28, 51, 159);
/* oklch */ color: oklch(38.4% 0.176 267.3);
Tailwind
colors: {
  custom: {
    50: '#716abc',
    500: '#1c339f',
    950: '#000000',
  },
}
SCSS
$custom: #1c339f;
$custom-light: #716abc;
$custom-dark: #000000;
JSON
{
  "hex": "#1c339f",
  "rgb": {
    "r": 28,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 229.466,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3842,
    "c": 0.17569,
    "h": 267.3
  },
  "luminance": 0.05118
}

Semantic roles & 50–950 ramp

primary
#1C339F
secondary
#C4B053
accent
#CE3BED
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1C339F

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

Preview Lab → · Contrast checker → · Palette generator →

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