#1B2276#1B2276

#1B2276 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.141 H 271.4°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#1B2276
RGBrgb(27, 34, 118)
HSLhsl(235, 63%, 28%)
HSVhsv(235, 77%, 46%)
CMYKcmyk(77.1%, 71.2%, 0%, 53.7%)
CIE-LABlab(18.73, 28.35, -48.70)
CIE-LCHlch(18.73, 56.35, 300.20°)
OKLaboklab(31.1% 0.0034 -0.1409)
OKLCHoklch(31.1% 0.141 271.4)
XYZxyz(4.2929, 2.6846, 17.4280)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2276 #766F1B
analogous
#1B4F76 #1B2276 #411B76
triadic
#1B2276 #761B22 #22761B
tetradic
#1B2276 #761B4F #766F1B #1B7641
square
#1B2276 #761B4F #766F1B #1B7641
split-complementary
#1B2276 #76411B #4F761B
monochromatic
#060719 #101444 #1B2276 #2630A8 #3A45D2

Accessibility & contrast

On white

13.66
#1B2276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1B2276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2276
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2276#FFFFFF#000000##FFFFFF
##1B22761.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002974
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1b2276;
/* rgb */ color: rgb(27, 34, 118);
/* oklch */ color: oklch(31.1% 0.141 271.4);
Tailwind
colors: {
  custom: {
    50: '#675d9e',
    500: '#1b2276',
    950: '#000000',
  },
}
SCSS
$custom: #1b2276;
$custom-light: #675d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2276",
  "rgb": {
    "r": 27,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 235.385,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31103,
    "c": 0.14094,
    "h": 271.4
  },
  "luminance": 0.02685
}

Semantic roles & 50–950 ramp

primary
#1B2276
secondary
#AAA242
accent
#D942E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1B2276

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

Preview Lab → · Contrast checker → · Palette generator →

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