#1C129F#1C129F

#1C129F is a dark, highly saturated blue. Relative luminance 0.032; OKLCH L 34.0% C 0.205 H 270.4°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#1C129F
RGBrgb(28, 18, 159)
HSLhsl(244, 80%, 35%)
HSVhsv(244, 89%, 62%)
CMYKcmyk(82.4%, 88.7%, 0%, 37.6%)
CIE-LABlab(20.76, 50.65, -71.02)
CIE-LCHlch(20.76, 87.24, 305.50°)
OKLaboklab(33.96% 0.0013 -0.2054)
OKLCHoklch(33.96% 0.205 270.4)
XYZxyz(6.9511, 3.1819, 33.0420)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C129F #959F12
analogous
#124F9F #1C129F #62129F
triadic
#1C129F #9F1C12 #129F1C
tetradic
#1C129F #9F124F #959F12 #129F62
square
#1C129F #9F124F #959F12 #129F62
split-complementary
#1C129F #9F6212 #4F9F12
monochromatic
#090631 #120C68 #1C129F #2618D6 #4E42EA

Accessibility & contrast

On white

12.83
#1C129F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1C129F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C129F
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C129F#FFFFFF#000000##FFFFFF
##1C129F1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0039A3
Deuteranopia (green-blind)
#002B9D
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1c129f;
/* rgb */ color: rgb(28, 18, 159);
/* oklch */ color: oklch(34.0% 0.205 270.4);
Tailwind
colors: {
  custom: {
    50: '#7457bd',
    500: '#1c129f',
    950: '#000000',
  },
}
SCSS
$custom: #1c129f;
$custom-light: #7457bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1c129f",
  "rgb": {
    "r": 28,
    "g": 18,
    "b": 159
  },
  "hsl": {
    "h": 244.255,
    "s": 79.661,
    "l": 34.706
  },
  "oklch": {
    "l": 0.33956,
    "c": 0.20541,
    "h": 270.4
  },
  "luminance": 0.03183
}

Semantic roles & 50–950 ramp

primary
#1C129F
secondary
#C0CA43
accent
#F632E8
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0312
muted
#7C7881

Preview Lab

Preview with #1C129F

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

Preview Lab → · Contrast checker → · Palette generator →

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