#1B2079#1B2079

#1B2079 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.147 H 271.6°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#1B2079
RGBrgb(27, 32, 121)
HSLhsl(237, 64%, 29%)
HSVhsv(237, 78%, 47%)
CMYKcmyk(77.7%, 73.6%, 0%, 52.5%)
CIE-LABlab(18.57, 30.79, -50.90)
CIE-LCHlch(18.57, 59.49, 301.17°)
OKLaboklab(31.08% 0.0042 -0.1473)
OKLCHoklch(31.08% 0.147 271.6)
XYZxyz(4.4185, 2.6460, 18.3633)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2079 #79741B
analogous
#1B4F79 #1B2079 #451B79
triadic
#1B2079 #791B20 #20791B
tetradic
#1B2079 #791B4F #79741B #1B7945
square
#1B2079 #791B4F #79741B #1B7945
split-complementary
#1B2079 #79451B #4F791B
monochromatic
#060719 #101347 #1B2079 #262DAB #3B43D3

Accessibility & contrast

On white

13.73
#1B2079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1B2079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2079
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2079#FFFFFF#000000##FFFFFF
##1B20791.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002977
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1b2079;
/* rgb */ color: rgb(27, 32, 121);
/* oklch */ color: oklch(31.1% 0.147 271.6);
Tailwind
colors: {
  custom: {
    50: '#685ca1',
    500: '#1b2079',
    950: '#000000',
  },
}
SCSS
$custom: #1b2079;
$custom-light: #685ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2079",
  "rgb": {
    "r": 27,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 236.809,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31077,
    "c": 0.14737,
    "h": 271.6
  },
  "luminance": 0.02647
}

Semantic roles & 50–950 ramp

primary
#1B2079
secondary
#ADA843
accent
#DE41E7
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1B2079

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

Preview Lab → · Contrast checker → · Palette generator →

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