#1B2C73#1B2C73

#1B2C73 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.8% C 0.124 H 268.4°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#1B2C73
RGBrgb(27, 44, 115)
HSLhsl(228, 62%, 28%)
HSVhsv(228, 77%, 45%)
CMYKcmyk(76.5%, 61.7%, 0%, 54.9%)
CIE-LABlab(21.10, 20.24, -42.91)
CIE-LCHlch(21.10, 47.44, 295.25°)
OKLaboklab(32.76% -0.0035 -0.1238)
OKLCHoklch(32.76% 0.124 268.4)
XYZxyz(4.4461, 3.2717, 16.6135)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2C73 #73621B
analogous
#1B5873 #1B2C73 #361B73
triadic
#1B2C73 #731B2C #2C731B
tetradic
#1B2C73 #731B58 #73621B #1B7336
square
#1B2C73 #731B58 #73621B #1B7336
split-complementary
#1B2C73 #73361B #58731B
monochromatic
#060919 #0F1941 #1B2C73 #273FA5 #3856D0

Accessibility & contrast

On white

12.69
#1B2C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1B2C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2C73
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2C73#FFFFFF#000000##FFFFFF
##1B2C731.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#002F72
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1b2c73;
/* rgb */ color: rgb(27, 44, 115);
/* oklch */ color: oklch(32.8% 0.124 268.4);
Tailwind
colors: {
  custom: {
    50: '#65649c',
    500: '#1b2c73',
    950: '#000000',
  },
}
SCSS
$custom: #1b2c73;
$custom-light: #65649c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2c73",
  "rgb": {
    "r": 27,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 228.409,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32756,
    "c": 0.12387,
    "h": 268.4
  },
  "luminance": 0.03272
}

Semantic roles & 50–950 ramp

primary
#1B2C73
secondary
#A89442
accent
#C643E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1B2C73

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

Preview Lab → · Contrast checker → · Palette generator →

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