#1B2779#1B2779

#1B2779 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.139 H 270.0°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#1B2779
RGBrgb(27, 39, 121)
HSLhsl(232, 64%, 29%)
HSVhsv(232, 78%, 47%)
CMYKcmyk(77.7%, 67.8%, 0%, 52.5%)
CIE-LABlab(20.30, 26.12, -48.06)
CIE-LCHlch(20.30, 54.69, 298.52°)
OKLaboklab(32.33% -0.0001 -0.139)
OKLCHoklch(32.33% 0.139 270)
XYZxyz(4.6275, 3.0640, 18.4330)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2779 #796D1B
analogous
#1B5679 #1B2779 #3E1B79
triadic
#1B2779 #791B27 #27791B
tetradic
#1B2779 #791B56 #796D1B #1B793E
square
#1B2779 #791B56 #796D1B #1B793E
split-complementary
#1B2779 #793E1B #56791B
monochromatic
#060819 #101747 #1B2779 #2637AB #3B4FD3

Accessibility & contrast

On white

13.02
#1B2779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1B2779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2779
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2779#FFFFFF#000000##FFFFFF
##1B27791.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#002D77
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b2779;
/* rgb */ color: rgb(27, 39, 121);
/* oklch */ color: oklch(32.3% 0.139 270.0);
Tailwind
colors: {
  custom: {
    50: '#6861a1',
    500: '#1b2779',
    950: '#000000',
  },
}
SCSS
$custom: #1b2779;
$custom-light: #6861a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2779",
  "rgb": {
    "r": 27,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 232.34,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32334,
    "c": 0.13898,
    "h": 270
  },
  "luminance": 0.03065
}

Semantic roles & 50–950 ramp

primary
#1B2779
secondary
#ADA043
accent
#D141E7
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1B2779

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

Preview Lab → · Contrast checker → · Palette generator →

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