#1C129D#1C129D

#1C129D is a dark, highly saturated blue. Relative luminance 0.031; OKLCH L 33.7% C 0.203 H 270.5°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#1C129D
RGBrgb(28, 18, 157)
HSLhsl(244, 79%, 34%)
HSVhsv(244, 89%, 62%)
CMYKcmyk(82.2%, 88.5%, 0%, 38.4%)
CIE-LABlab(20.49, 50.06, -70.24)
CIE-LCHlch(20.49, 86.26, 305.48°)
OKLaboklab(33.7% 0.0018 -0.2032)
OKLCHoklch(33.7% 0.203 270.5)
XYZxyz(6.7789, 3.1130, 32.1353)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C129D #939D12
analogous
#124D9D #1C129D #62129D
triadic
#1C129D #9D1C12 #129D1C
tetradic
#1C129D #9D124D #939D12 #129D62
square
#1C129D #9D124D #939D12 #129D62
split-complementary
#1C129D #9D6212 #4D9D12
monochromatic
#08052F #120C66 #1C129D #2618D4 #4C40E9

Accessibility & contrast

On white

12.94
#1C129D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1C129D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C129D
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C129D#FFFFFF#000000##FFFFFF
##1C129D1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0038A1
Deuteranopia (green-blind)
#002A9B
Tritanopia (blue-blind)
#00425C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1c129d;
/* rgb */ color: rgb(28, 18, 157);
/* oklch */ color: oklch(33.7% 0.203 270.5);
Tailwind
colors: {
  custom: {
    50: '#7457bb',
    500: '#1c129d',
    950: '#000000',
  },
}
SCSS
$custom: #1c129d;
$custom-light: #7457bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1c129d",
  "rgb": {
    "r": 28,
    "g": 18,
    "b": 157
  },
  "hsl": {
    "h": 244.317,
    "s": 79.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.33698,
    "c": 0.20317,
    "h": 270.5
  },
  "luminance": 0.03114
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C129D

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

Preview Lab → · Contrast checker → · Palette generator →

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