#1B2B8A#1B2B8A

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

Color values

HEX#1B2B8A
RGBrgb(27, 43, 138)
HSLhsl(231, 67%, 32%)
HSVhsv(231, 80%, 54%)
CMYKcmyk(80.4%, 68.8%, 0%, 45.9%)
CIE-LABlab(22.98, 29.97, -54.37)
CIE-LCHlch(22.98, 62.08, 298.86°)
OKLaboklab(34.8% -0.0036 -0.1574)
OKLCHoklch(34.8% 0.157 268.7)
XYZxyz(5.9017, 3.7951, 24.4613)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B8A #8A7A1B
analogous
#1B638A #1B2B8A #421B8A
triadic
#1B2B8A #8A1B2B #2B8A1B
tetradic
#1B2B8A #8A1B63 #8A7A1B #1B8A42
square
#1B2B8A #8A1B63 #8A7A1B #1B8A42
split-complementary
#1B2B8A #8A421B #638A1B
monochromatic
#070B24 #111B57 #1B2B8A #253BBD #455ADB

Accessibility & contrast

On white

11.94
#1B2B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1B2B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B8A
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B8A#FFFFFF#000000##FFFFFF
##1B2B8A1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003288
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1b2b8a;
/* rgb */ color: rgb(27, 43, 138);
/* oklch */ color: oklch(34.8% 0.157 268.7);
Tailwind
colors: {
  custom: {
    50: '#6c64ad',
    500: '#1b2b8a',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b8a;
$custom-light: #6c64ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b8a",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 231.351,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34803,
    "c": 0.15746,
    "h": 268.7
  },
  "luminance": 0.03796
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B2B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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