#1B2B8B#1B2B8B

#1B2B8B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.159 H 268.7°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#1B2B8B
RGBrgb(27, 43, 139)
HSLhsl(231, 67%, 33%)
HSVhsv(231, 81%, 55%)
CMYKcmyk(80.6%, 69.1%, 0%, 45.5%)
CIE-LABlab(23.08, 30.35, -54.83)
CIE-LCHlch(23.08, 62.67, 298.96°)
OKLaboklab(34.91% -0.0037 -0.1588)
OKLCHoklch(34.91% 0.159 268.7)
XYZxyz(5.9745, 3.8242, 24.8444)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B8B #8B7B1B
analogous
#1B638B #1B2B8B #431B8B
triadic
#1B2B8B #8B1B2B #2B8B1B
tetradic
#1B2B8B #8B1B63 #8B7B1B #1B8B43
square
#1B2B8B #8B1B63 #8B7B1B #1B8B43
split-complementary
#1B2B8B #8B431B #638B1B
monochromatic
#070B25 #111B58 #1B2B8B #253BBE #455BDB

Accessibility & contrast

On white

11.90
#1B2B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1B2B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B8B
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B8B#FFFFFF#000000##FFFFFF
##1B2B8B1.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003289
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1b2b8b;
/* rgb */ color: rgb(27, 43, 139);
/* oklch */ color: oklch(34.9% 0.159 268.7);
Tailwind
colors: {
  custom: {
    50: '#6c64ae',
    500: '#1b2b8b',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b8b;
$custom-light: #6c64ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b8b",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 139
  },
  "hsl": {
    "h": 231.429,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34905,
    "c": 0.1588,
    "h": 268.7
  },
  "luminance": 0.03825
}

Semantic roles & 50–950 ramp

primary
#1B2B8B
secondary
#BCAB45
accent
#D23DEA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1B2B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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