#1B129D#1B129D

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

Color values

HEX#1B129D
RGBrgb(27, 18, 157)
HSLhsl(244, 79%, 34%)
HSVhsv(244, 89%, 62%)
CMYKcmyk(82.8%, 88.5%, 0%, 38.4%)
CIE-LABlab(20.44, 50.02, -70.34)
CIE-LCHlch(20.44, 86.31, 305.42°)
OKLaboklab(33.65% 0.0007 -0.2034)
OKLCHoklch(33.65% 0.203 270.2)
XYZxyz(6.7520, 3.0992, 32.1341)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B129D #949D12
analogous
#124F9D #1B129D #61129D
triadic
#1B129D #9D1B12 #129D1B
tetradic
#1B129D #9D124F #949D12 #129D61
square
#1B129D #9D124F #949D12 #129D61
split-complementary
#1B129D #9D6112 #4F9D12
monochromatic
#08052F #120C66 #1B129D #2418D4 #4B40E9

Accessibility & contrast

On white

12.96
#1B129D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B129D
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B129D#FFFFFF#000000##FFFFFF
##1B129D1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.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: #1b129d;
/* rgb */ color: rgb(27, 18, 157);
/* oklch */ color: oklch(33.6% 0.203 270.2);
Tailwind
colors: {
  custom: {
    50: '#7357bb',
    500: '#1b129d',
    950: '#000000',
  },
}
SCSS
$custom: #1b129d;
$custom-light: #7357bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b129d",
  "rgb": {
    "r": 27,
    "g": 18,
    "b": 157
  },
  "hsl": {
    "h": 243.885,
    "s": 79.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.33647,
    "c": 0.20344,
    "h": 270.2
  },
  "luminance": 0.031
}

Semantic roles & 50–950 ramp

primary
#1B129D
secondary
#C0C942
accent
#F632E9
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0312
muted
#7C7881

Preview Lab

Preview with #1B129D

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

Preview Lab → · Contrast checker → · Palette generator →

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