#1B2C72#1B2C72

#1B2C72 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.7% C 0.122 H 268.3°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#1B2C72
RGBrgb(27, 44, 114)
HSLhsl(228, 62%, 28%)
HSVhsv(228, 76%, 45%)
CMYKcmyk(76.3%, 61.4%, 0%, 55.3%)
CIE-LABlab(21.01, 19.84, -42.40)
CIE-LCHlch(21.01, 46.82, 295.07°)
OKLaboklab(32.66% -0.0036 -0.1223)
OKLCHoklch(32.66% 0.122 268.3)
XYZxyz(4.3889, 3.2488, 16.3121)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2C72 #72611B
analogous
#1B5772 #1B2C72 #361B72
triadic
#1B2C72 #721B2C #2C721B
tetradic
#1B2C72 #721B57 #72611B #1B7236
square
#1B2C72 #721B57 #72611B #1B7236
split-complementary
#1B2C72 #72361B #57721B
monochromatic
#060A19 #0F1941 #1B2C72 #273FA3 #3855D0

Accessibility & contrast

On white

12.73
#1B2C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2C72
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2C72#FFFFFF#000000##FFFFFF
##1B2C721.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#002F71
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b2c72;
/* rgb */ color: rgb(27, 44, 114);
/* oklch */ color: oklch(32.7% 0.122 268.3);
Tailwind
colors: {
  custom: {
    50: '#65649b',
    500: '#1b2c72',
    950: '#000000',
  },
}
SCSS
$custom: #1b2c72;
$custom-light: #65649b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2c72",
  "rgb": {
    "r": 27,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 228.276,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32664,
    "c": 0.1224,
    "h": 268.3
  },
  "luminance": 0.03249
}

Semantic roles & 50–950 ramp

primary
#1B2C72
secondary
#A79342
accent
#C543E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1B2C72

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

Preview Lab → · Contrast checker → · Palette generator →

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