#1B2973#1B2973

#1B2973 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.1% C 0.128 H 269.4°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#1B2973
RGBrgb(27, 41, 115)
HSLhsl(230, 62%, 28%)
HSVhsv(230, 77%, 45%)
CMYKcmyk(76.5%, 64.3%, 0%, 54.9%)
CIE-LABlab(20.27, 22.36, -44.26)
CIE-LCHlch(20.27, 49.59, 296.80°)
OKLaboklab(32.14% -0.0012 -0.1278)
OKLCHoklch(32.14% 0.128 269.4)
XYZxyz(4.3384, 3.0562, 16.5776)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2973 #73651B
analogous
#1B5573 #1B2973 #391B73
triadic
#1B2973 #731B29 #29731B
tetradic
#1B2973 #731B55 #73651B #1B7339
square
#1B2973 #731B55 #73651B #1B7339
split-complementary
#1B2973 #73391B #55731B
monochromatic
#060919 #0F1741 #1B2973 #273BA5 #3850D0

Accessibility & contrast

On white

13.03
#1B2973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1B2973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2973
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2973#FFFFFF#000000##FFFFFF
##1B29731.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#002D72
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b2973;
/* rgb */ color: rgb(27, 41, 115);
/* oklch */ color: oklch(32.1% 0.128 269.4);
Tailwind
colors: {
  custom: {
    50: '#66629c',
    500: '#1b2973',
    950: '#000000',
  },
}
SCSS
$custom: #1b2973;
$custom-light: #66629c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2973",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 230.455,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32137,
    "c": 0.12786,
    "h": 269.4
  },
  "luminance": 0.03057
}

Semantic roles & 50–950 ramp

primary
#1B2973
secondary
#A89742
accent
#CB43E5
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1B2973

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

Preview Lab → · Contrast checker → · Palette generator →

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