#1B2C70#1B2C70

#1B2C70 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.5% C 0.119 H 268.3°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#1B2C70
RGBrgb(27, 44, 112)
HSLhsl(228, 61%, 27%)
HSVhsv(228, 76%, 44%)
CMYKcmyk(75.9%, 60.7%, 0%, 56.1%)
CIE-LABlab(20.84, 19.03, -41.40)
CIE-LCHlch(20.84, 45.56, 294.69°)
OKLaboklab(32.48% -0.0036 -0.1194)
OKLCHoklch(32.48% 0.119 268.3)
XYZxyz(4.2763, 3.2038, 15.7191)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2C70 #705F1B
analogous
#1B5770 #1B2C70 #351B70
triadic
#1B2C70 #701B2C #2C701B
tetradic
#1B2C70 #701B57 #705F1B #1B7035
square
#1B2C70 #701B57 #705F1B #1B7035
split-complementary
#1B2C70 #70351B #57701B
monochromatic
#060A19 #0F193F #1B2C70 #273FA1 #3755CF

Accessibility & contrast

On white

12.80
#1B2C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1B2C70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2C70
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2C70#FFFFFF#000000##FFFFFF
##1B2C701.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003672
Deuteranopia (green-blind)
#002E6F
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b2c70;
/* rgb */ color: rgb(27, 44, 112);
/* oklch */ color: oklch(32.5% 0.119 268.3);
Tailwind
colors: {
  custom: {
    50: '#65649a',
    500: '#1b2c70',
    950: '#000000',
  },
}
SCSS
$custom: #1b2c70;
$custom-light: #65649a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2c70",
  "rgb": {
    "r": 27,
    "g": 44,
    "b": 112
  },
  "hsl": {
    "h": 228,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32482,
    "c": 0.11945,
    "h": 268.3
  },
  "luminance": 0.03204
}

Semantic roles & 50–950 ramp

primary
#1B2C70
secondary
#A59142
accent
#C444E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1B2C70

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

Preview Lab → · Contrast checker → · Palette generator →

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