#1B2477#1B2477

#1B2477 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.140 H 270.8°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#1B2477
RGBrgb(27, 36, 119)
HSLhsl(234, 63%, 29%)
HSVhsv(234, 77%, 47%)
CMYKcmyk(77.3%, 69.7%, 0%, 53.3%)
CIE-LABlab(19.33, 27.39, -48.36)
CIE-LCHlch(19.33, 55.58, 299.52°)
OKLaboklab(31.57% 0.002 -0.1399)
OKLCHoklch(31.57% 0.14 270.8)
XYZxyz(4.4115, 2.8262, 17.7622)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2477 #776E1B
analogous
#1B5277 #1B2477 #401B77
triadic
#1B2477 #771B24 #24771B
tetradic
#1B2477 #771B52 #776E1B #1B7740
square
#1B2477 #771B52 #776E1B #1B7740
split-complementary
#1B2477 #77401B #52771B
monochromatic
#060819 #101545 #1B2477 #2633A9 #3A49D2

Accessibility & contrast

On white

13.42
#1B2477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1B2477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2477
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2477#FFFFFF#000000##FFFFFF
##1B24771.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#002B75
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b2477;
/* rgb */ color: rgb(27, 36, 119);
/* oklch */ color: oklch(31.6% 0.140 270.8);
Tailwind
colors: {
  custom: {
    50: '#675f9f',
    500: '#1b2477',
    950: '#000000',
  },
}
SCSS
$custom: #1b2477;
$custom-light: #675f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2477",
  "rgb": {
    "r": 27,
    "g": 36,
    "b": 119
  },
  "hsl": {
    "h": 234.13,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3157,
    "c": 0.13989,
    "h": 270.8
  },
  "luminance": 0.02827
}

Semantic roles & 50–950 ramp

primary
#1B2477
secondary
#ABA142
accent
#D642E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #1B2477

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

Preview Lab → · Contrast checker → · Palette generator →

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