#1B2479#1B2479

#1B2479 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.143 H 270.7°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#1B2479
RGBrgb(27, 36, 121)
HSLhsl(234, 64%, 29%)
HSVhsv(234, 78%, 47%)
CMYKcmyk(77.7%, 70.2%, 0%, 52.5%)
CIE-LABlab(19.54, 28.15, -49.31)
CIE-LCHlch(19.54, 56.78, 299.72°)
OKLaboklab(31.78% 0.0018 -0.1427)
OKLCHoklch(31.78% 0.143 270.7)
XYZxyz(4.5329, 2.8748, 18.4014)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2479 #79701B
analogous
#1B5379 #1B2479 #411B79
triadic
#1B2479 #791B24 #24791B
tetradic
#1B2479 #791B53 #79701B #1B7941
square
#1B2479 #791B53 #79701B #1B7941
split-complementary
#1B2479 #79411B #53791B
monochromatic
#060719 #101547 #1B2479 #2633AB #3B4AD3

Accessibility & contrast

On white

13.33
#1B2479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1B2479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2479
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2479#FFFFFF#000000##FFFFFF
##1B24791.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#002B77
Tritanopia (blue-blind)
#003B4B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b2479;
/* rgb */ color: rgb(27, 36, 121);
/* oklch */ color: oklch(31.8% 0.143 270.7);
Tailwind
colors: {
  custom: {
    50: '#685fa1',
    500: '#1b2479',
    950: '#000000',
  },
}
SCSS
$custom: #1b2479;
$custom-light: #685fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2479",
  "rgb": {
    "r": 27,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 234.255,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31777,
    "c": 0.14267,
    "h": 270.7
  },
  "luminance": 0.02875
}

Semantic roles & 50–950 ramp

primary
#1B2479
secondary
#ADA343
accent
#D741E7
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1B2479

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

Preview Lab → · Contrast checker → · Palette generator →

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