#1B2E77#1B2E77

#1B2E77 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.5% C 0.127 H 267.7°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#1B2E77
RGBrgb(27, 46, 119)
HSLhsl(228, 63%, 29%)
HSVhsv(228, 77%, 47%)
CMYKcmyk(77.3%, 61.3%, 0%, 53.3%)
CIE-LABlab(22.01, 20.43, -43.98)
CIE-LCHlch(22.01, 48.49, 294.92°)
OKLaboklab(33.54% -0.005 -0.1269)
OKLCHoklch(33.54% 0.127 267.7)
XYZxyz(4.7576, 3.5184, 17.8776)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E77 #77641B
analogous
#1B5C77 #1B2E77 #361B77
triadic
#1B2E77 #771B2E #2E771B
tetradic
#1B2E77 #771B5C #77641B #1B7736
square
#1B2E77 #771B5C #77641B #1B7736
split-complementary
#1B2E77 #77361B #5C771B
monochromatic
#060A19 #101B45 #1B2E77 #2641A9 #3A5AD2

Accessibility & contrast

On white

12.33
#1B2E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1B2E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E77
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E77#FFFFFF#000000##FFFFFF
##1B2E771.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003979
Deuteranopia (green-blind)
#003176
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b2e77;
/* rgb */ color: rgb(27, 46, 119);
/* oklch */ color: oklch(33.5% 0.127 267.7);
Tailwind
colors: {
  custom: {
    50: '#66669f',
    500: '#1b2e77',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e77;
$custom-light: #66669f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e77",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 227.609,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33543,
    "c": 0.12705,
    "h": 267.7
  },
  "luminance": 0.03519
}

Semantic roles & 50–950 ramp

primary
#1B2E77
secondary
#AB9642
accent
#C442E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1B2E77

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

Preview Lab → · Contrast checker → · Palette generator →

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