#1B2B8D#1B2B8D

#1B2B8D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.161 H 268.6°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#1B2B8D
RGBrgb(27, 43, 141)
HSLhsl(232, 68%, 33%)
HSVhsv(232, 81%, 55%)
CMYKcmyk(80.9%, 69.5%, 0%, 44.7%)
CIE-LABlab(23.28, 31.11, -55.75)
CIE-LCHlch(23.28, 63.84, 299.16°)
OKLaboklab(35.11% -0.0039 -0.1614)
OKLCHoklch(35.11% 0.161 268.6)
XYZxyz(6.1219, 3.8832, 25.6210)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B8D #8D7D1B
analogous
#1B648D #1B2B8D #441B8D
triadic
#1B2B8D #8D1B2B #2B8D1B
tetradic
#1B2B8D #8D1B64 #8D7D1B #1B8D44
square
#1B2B8D #8D1B64 #8D7D1B #1B8D44
split-complementary
#1B2B8D #8D441B #648D1B
monochromatic
#070C26 #111B5A #1B2B8D #253BC0 #475CDC

Accessibility & contrast

On white

11.82
#1B2B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1B2B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B8D
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B8D#FFFFFF#000000##FFFFFF
##1B2B8D1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00328B
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1b2b8d;
/* rgb */ color: rgb(27, 43, 141);
/* oklch */ color: oklch(35.1% 0.161 268.6);
Tailwind
colors: {
  custom: {
    50: '#6d64af',
    500: '#1b2b8d',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b8d;
$custom-light: #6d64af;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b8d",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 231.579,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35111,
    "c": 0.16148,
    "h": 268.6
  },
  "luminance": 0.03884
}

Semantic roles & 50–950 ramp

primary
#1B2B8D
secondary
#BDAD46
accent
#D23DEB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080511
muted
#7B7A80

Preview Lab

Preview with #1B2B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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