#1B2676#1B2676

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

Color values

HEX#1B2676
RGBrgb(27, 38, 118)
HSLhsl(233, 63%, 28%)
HSVhsv(233, 77%, 46%)
CMYKcmyk(77.1%, 67.8%, 0%, 53.7%)
CIE-LABlab(19.75, 25.63, -47.04)
CIE-LCHlch(19.75, 53.57, 298.59°)
OKLaboklab(31.84% 0.0008 -0.136)
OKLCHoklch(31.84% 0.136 270.3)
XYZxyz(4.4140, 2.9268, 17.4683)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2676 #766B1B
analogous
#1B5376 #1B2676 #3D1B76
triadic
#1B2676 #761B26 #26761B
tetradic
#1B2676 #761B53 #766B1B #1B763D
square
#1B2676 #761B53 #766B1B #1B763D
split-complementary
#1B2676 #763D1B #53761B
monochromatic
#060819 #101644 #1B2676 #2636A8 #3A4CD2

Accessibility & contrast

On white

13.25
#1B2676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1B2676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2676
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2676#FFFFFF#000000##FFFFFF
##1B26761.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#003B4A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b2676;
/* rgb */ color: rgb(27, 38, 118);
/* oklch */ color: oklch(31.8% 0.136 270.3);
Tailwind
colors: {
  custom: {
    50: '#67609e',
    500: '#1b2676',
    950: '#000000',
  },
}
SCSS
$custom: #1b2676;
$custom-light: #67609e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2676",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 118
  },
  "hsl": {
    "h": 232.747,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31842,
    "c": 0.13601,
    "h": 270.3
  },
  "luminance": 0.02927
}

Semantic roles & 50–950 ramp

primary
#1B2676
secondary
#AA9E42
accent
#D242E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1B2676

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

Preview Lab → · Contrast checker → · Palette generator →

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