#1B2C71#1B2C71

#1B2C71 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.121 H 268.3°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#1B2C71
RGBrgb(27, 44, 113)
HSLhsl(228, 61%, 27%)
HSVhsv(228, 76%, 44%)
CMYKcmyk(76.1%, 61.1%, 0%, 55.7%)
CIE-LABlab(20.93, 19.43, -41.90)
CIE-LCHlch(20.93, 46.19, 294.88°)
OKLaboklab(32.57% -0.0036 -0.1209)
OKLCHoklch(32.57% 0.121 268.3)
XYZxyz(4.3323, 3.2262, 16.0140)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2C71 #71601B
analogous
#1B5771 #1B2C71 #351B71
triadic
#1B2C71 #711B2C #2C711B
tetradic
#1B2C71 #711B57 #71601B #1B7135
square
#1B2C71 #711B57 #71601B #1B7135
split-complementary
#1B2C71 #71351B #57711B
monochromatic
#060A19 #0F1940 #1B2C71 #273FA2 #3755CF

Accessibility & contrast

On white

12.76
#1B2C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1B2C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2C71
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2C71#FFFFFF#000000##FFFFFF
##1B2C711.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#002E70
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b2c71;
/* rgb */ color: rgb(27, 44, 113);
/* oklch */ color: oklch(32.6% 0.121 268.3);
Tailwind
colors: {
  custom: {
    50: '#65649a',
    500: '#1b2c71',
    950: '#000000',
  },
}
SCSS
$custom: #1b2c71;
$custom-light: #65649a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2c71",
  "rgb": {
    "r": 27,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 228.14,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32573,
    "c": 0.12093,
    "h": 268.3
  },
  "luminance": 0.03227
}

Semantic roles & 50–950 ramp

primary
#1B2C71
secondary
#A69242
accent
#C543E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1B2C71

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

Preview Lab → · Contrast checker → · Palette generator →

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