#1B2B73#1B2B73

#1B2B73 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.5% C 0.125 H 268.7°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#1B2B73
RGBrgb(27, 43, 115)
HSLhsl(229, 62%, 28%)
HSVhsv(229, 77%, 45%)
CMYKcmyk(76.5%, 62.6%, 0%, 54.9%)
CIE-LABlab(20.82, 20.95, -43.36)
CIE-LCHlch(20.82, 48.16, 295.79°)
OKLaboklab(32.55% -0.0028 -0.1252)
OKLCHoklch(32.55% 0.125 268.7)
XYZxyz(4.4093, 3.1981, 16.6012)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B73 #73631B
analogous
#1B5773 #1B2B73 #371B73
triadic
#1B2B73 #731B2B #2B731B
tetradic
#1B2B73 #731B57 #73631B #1B7337
square
#1B2B73 #731B57 #73631B #1B7337
split-complementary
#1B2B73 #73371B #57731B
monochromatic
#060919 #0F1841 #1B2B73 #273EA5 #3854D0

Accessibility & contrast

On white

12.81
#1B2B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2B73
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B73#FFFFFF#000000##FFFFFF
##1B2B731.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2b73;
/* rgb */ color: rgb(27, 43, 115);
/* oklch */ color: oklch(32.5% 0.125 268.7);
Tailwind
colors: {
  custom: {
    50: '#66649c',
    500: '#1b2b73',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b73;
$custom-light: #66649c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b73",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 115
  },
  "hsl": {
    "h": 229.091,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32547,
    "c": 0.12521,
    "h": 268.7
  },
  "luminance": 0.03199
}

Semantic roles & 50–950 ramp

primary
#1B2B73
secondary
#A89542
accent
#C843E5
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1B2B73

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

Preview Lab → · Contrast checker → · Palette generator →

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