#1B2373#1B2373

#1B2373 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.136 H 271.3°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#1B2373
RGBrgb(27, 35, 115)
HSLhsl(235, 62%, 28%)
HSVhsv(235, 77%, 45%)
CMYKcmyk(76.5%, 69.6%, 0%, 54.9%)
CIE-LABlab(18.68, 26.53, -46.86)
CIE-LCHlch(18.68, 53.85, 299.51°)
OKLaboklab(30.97% 0.0031 -0.1355)
OKLCHoklch(30.97% 0.136 271.3)
XYZxyz(4.1465, 2.6725, 16.5136)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2373 #736B1B
analogous
#1B4F73 #1B2373 #3F1B73
triadic
#1B2373 #731B23 #23731B
tetradic
#1B2373 #731B4F #736B1B #1B733F
square
#1B2373 #731B4F #736B1B #1B733F
split-complementary
#1B2373 #733F1B #4F731B
monochromatic
#060819 #0F1441 #1B2373 #2732A5 #3846D0

Accessibility & contrast

On white

13.68
#1B2373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1B2373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2373
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2373#FFFFFF#000000##FFFFFF
##1B23731.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003275
Deuteranopia (green-blind)
#002972
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1b2373;
/* rgb */ color: rgb(27, 35, 115);
/* oklch */ color: oklch(31.0% 0.136 271.3);
Tailwind
colors: {
  custom: {
    50: '#665e9c',
    500: '#1b2373',
    950: '#000000',
  },
}
SCSS
$custom: #1b2373;
$custom-light: #665e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2373",
  "rgb": {
    "r": 27,
    "g": 35,
    "b": 115
  },
  "hsl": {
    "h": 234.545,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30973,
    "c": 0.13554,
    "h": 271.3
  },
  "luminance": 0.02673
}

Semantic roles & 50–950 ramp

primary
#1B2373
secondary
#A89E42
accent
#D643E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1B2373

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

Preview Lab → · Contrast checker → · Palette generator →

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