#1B2B70#1B2B70

#1B2B70 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.121 H 268.7°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#1B2B70
RGBrgb(27, 43, 112)
HSLhsl(229, 61%, 27%)
HSVhsv(229, 76%, 44%)
CMYKcmyk(75.9%, 61.6%, 0%, 56.1%)
CIE-LABlab(20.56, 19.74, -41.86)
CIE-LCHlch(20.56, 46.28, 295.25°)
OKLaboklab(32.27% -0.0028 -0.1208)
OKLCHoklch(32.27% 0.121 268.7)
XYZxyz(4.2395, 3.1302, 15.7068)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B70 #70601B
analogous
#1B5670 #1B2B70 #361B70
triadic
#1B2B70 #701B2B #2B701B
tetradic
#1B2B70 #701B56 #70601B #1B7036
square
#1B2B70 #701B56 #70601B #1B7036
split-complementary
#1B2B70 #70361B #56701B
monochromatic
#060919 #0F183F #1B2B70 #273EA1 #3753CF

Accessibility & contrast

On white

12.91
#1B2B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1B2B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B70
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B70#FFFFFF#000000##FFFFFF
##1B2B701.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2b70;
/* rgb */ color: rgb(27, 43, 112);
/* oklch */ color: oklch(32.3% 0.121 268.7);
Tailwind
colors: {
  custom: {
    50: '#65649a',
    500: '#1b2b70',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b70;
$custom-light: #65649a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b70",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 112
  },
  "hsl": {
    "h": 228.706,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3227,
    "c": 0.1208,
    "h": 268.7
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#1B2B70
secondary
#A59242
accent
#C644E4
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1B2B70

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

Preview Lab → · Contrast checker → · Palette generator →

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