#1B2C8E#1B2C8E

#1B2C8E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.162 H 268.4°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#1B2C8E
RGBrgb(27, 44, 142)
HSLhsl(231, 68%, 33%)
HSVhsv(231, 81%, 56%)
CMYKcmyk(81%, 69%, 0%, 44.3%)
CIE-LABlab(23.63, 30.83, -55.80)
CIE-LCHlch(23.63, 63.75, 298.92°)
OKLaboklab(35.39% -0.0045 -0.1616)
OKLCHoklch(35.39% 0.162 268.4)
XYZxyz(6.2335, 3.9867, 26.0269)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2C8E #8E7D1B
analogous
#1B658E #1B2C8E #431B8E
triadic
#1B2C8E #8E1B2C #2C8E1B
tetradic
#1B2C8E #8E1B65 #8E7D1B #1B8E43
square
#1B2C8E #8E1B65 #8E7D1B #1B8E43
split-complementary
#1B2C8E #8E431B #658E1B
monochromatic
#070C27 #111C5B #1B2C8E #253CC1 #475DDC

Accessibility & contrast

On white

11.68
#1B2C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1B2C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2C8E
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2C8E#FFFFFF#000000##FFFFFF
##1B2C8E1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1b2c8e;
/* rgb */ color: rgb(27, 44, 142);
/* oklch */ color: oklch(35.4% 0.162 268.4);
Tailwind
colors: {
  custom: {
    50: '#6d65b0',
    500: '#1b2c8e',
    950: '#000000',
  },
}
SCSS
$custom: #1b2c8e;
$custom-light: #6d65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2c8e",
  "rgb": {
    "r": 27,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 231.13,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35394,
    "c": 0.16164,
    "h": 268.4
  },
  "luminance": 0.03987
}

Semantic roles & 50–950 ramp

primary
#1B2C8E
secondary
#BEAC47
accent
#D13DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #1B2C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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