#1B2377#1B2377

#1B2377 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.141 H 271.1°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#1B2377
RGBrgb(27, 35, 119)
HSLhsl(235, 63%, 29%)
HSVhsv(235, 77%, 47%)
CMYKcmyk(77.3%, 70.6%, 0%, 53.3%)
CIE-LABlab(19.08, 28.06, -48.77)
CIE-LCHlch(19.08, 56.27, 299.91°)
OKLaboklab(31.39% 0.0027 -0.1411)
OKLCHoklch(31.39% 0.141 271.1)
XYZxyz(4.3817, 2.7665, 17.7523)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2377 #776F1B
analogous
#1B5177 #1B2377 #411B77
triadic
#1B2377 #771B23 #23771B
tetradic
#1B2377 #771B51 #776F1B #1B7741
square
#1B2377 #771B51 #776F1B #1B7741
split-complementary
#1B2377 #77411B #51771B
monochromatic
#060719 #101445 #1B2377 #2632A9 #3A47D2

Accessibility & contrast

On white

13.52
#1B2377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1B2377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2377
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2377#FFFFFF#000000##FFFFFF
##1B23771.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2377;
/* rgb */ color: rgb(27, 35, 119);
/* oklch */ color: oklch(31.4% 0.141 271.1);
Tailwind
colors: {
  custom: {
    50: '#675e9f',
    500: '#1b2377',
    950: '#000000',
  },
}
SCSS
$custom: #1b2377;
$custom-light: #675e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2377",
  "rgb": {
    "r": 27,
    "g": 35,
    "b": 119
  },
  "hsl": {
    "h": 234.783,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31388,
    "c": 0.14111,
    "h": 271.1
  },
  "luminance": 0.02767
}

Semantic roles & 50–950 ramp

primary
#1B2377
secondary
#ABA242
accent
#D842E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #1B2377

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

Preview Lab → · Contrast checker → · Palette generator →

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