#1B2476#1B2476

#1B2476 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.139 H 270.9°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#1B2476
RGBrgb(27, 36, 118)
HSLhsl(234, 63%, 28%)
HSVhsv(234, 77%, 46%)
CMYKcmyk(77.1%, 69.5%, 0%, 53.7%)
CIE-LABlab(19.23, 27.00, -47.88)
CIE-LCHlch(19.23, 54.97, 299.42°)
OKLaboklab(31.47% 0.0021 -0.1385)
OKLCHoklch(31.47% 0.139 270.9)
XYZxyz(4.3518, 2.8023, 17.4476)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2476 #766D1B
analogous
#1B5176 #1B2476 #3F1B76
triadic
#1B2476 #761B24 #24761B
tetradic
#1B2476 #761B51 #766D1B #1B763F
square
#1B2476 #761B51 #766D1B #1B763F
split-complementary
#1B2476 #763F1B #51761B
monochromatic
#060819 #101544 #1B2476 #2633A8 #3A49D2

Accessibility & contrast

On white

13.46
#1B2476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1B2476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2476
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2476#FFFFFF#000000##FFFFFF
##1B24761.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b2476;
/* rgb */ color: rgb(27, 36, 118);
/* oklch */ color: oklch(31.5% 0.139 270.9);
Tailwind
colors: {
  custom: {
    50: '#675f9e',
    500: '#1b2476',
    950: '#000000',
  },
}
SCSS
$custom: #1b2476;
$custom-light: #675f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2476",
  "rgb": {
    "r": 27,
    "g": 36,
    "b": 118
  },
  "hsl": {
    "h": 234.066,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31467,
    "c": 0.13851,
    "h": 270.9
  },
  "luminance": 0.02803
}

Semantic roles & 50–950 ramp

primary
#1B2476
secondary
#AAA042
accent
#D642E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1B2476

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

Preview Lab → · Contrast checker → · Palette generator →

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