#1B129F#1B129F

#1B129F is a dark, highly saturated blue. Relative luminance 0.032; OKLCH L 33.9% C 0.206 H 270.0°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#1B129F
RGBrgb(27, 18, 159)
HSLhsl(244, 80%, 35%)
HSVhsv(244, 89%, 62%)
CMYKcmyk(83%, 88.7%, 0%, 37.6%)
CIE-LABlab(20.70, 50.61, -71.11)
CIE-LCHlch(20.70, 87.29, 305.44°)
OKLaboklab(33.91% 0.0001 -0.2057)
OKLCHoklch(33.91% 0.206 270)
XYZxyz(6.9242, 3.1680, 33.0407)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B129F #969F12
analogous
#124F9F #1B129F #62129F
triadic
#1B129F #9F1B12 #129F1B
tetradic
#1B129F #9F124F #969F12 #129F62
square
#1B129F #9F124F #969F12 #129F62
split-complementary
#1B129F #9F6212 #4F9F12
monochromatic
#080631 #120C68 #1B129F #2418D6 #4D42EA

Accessibility & contrast

On white

12.85
#1B129F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1B129F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B129F
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B129F#FFFFFF#000000##FFFFFF
##1B129F1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b129f;
/* rgb */ color: rgb(27, 18, 159);
/* oklch */ color: oklch(33.9% 0.206 270.0);
Tailwind
colors: {
  custom: {
    50: '#7457bd',
    500: '#1b129f',
    950: '#000000',
  },
}
SCSS
$custom: #1b129f;
$custom-light: #7457bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b129f",
  "rgb": {
    "r": 27,
    "g": 18,
    "b": 159
  },
  "hsl": {
    "h": 243.83,
    "s": 79.661,
    "l": 34.706
  },
  "oklch": {
    "l": 0.33905,
    "c": 0.20569,
    "h": 270
  },
  "luminance": 0.03169
}

Semantic roles & 50–950 ramp

primary
#1B129F
secondary
#C1CA43
accent
#F632EA
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0312
muted
#7C7881

Preview Lab

Preview with #1B129F

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

Preview Lab → · Contrast checker → · Palette generator →

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