#1B2D9E#1B2D9E

#1B2D9E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.181 H 268.0°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#1B2D9E
RGBrgb(27, 45, 158)
HSLhsl(232, 71%, 36%)
HSVhsv(232, 83%, 62%)
CMYKcmyk(82.9%, 71.5%, 0%, 38%)
CIE-LABlab(25.50, 36.17, -62.56)
CIE-LCHlch(25.50, 72.26, 300.03°)
OKLaboklab(37.24% -0.0063 -0.1813)
OKLCHoklch(37.24% 0.181 268)
XYZxyz(7.5598, 4.5775, 32.8262)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D9E #9E8C1B
analogous
#1B6F9E #1B2D9E #4B1B9E
triadic
#1B2D9E #9E1B2D #2D9E1B
tetradic
#1B2D9E #9E1B6F #9E8C1B #1B9E4B
square
#1B2D9E #9E1B6F #9E8C1B #1B9E4B
split-complementary
#1B2D9E #9E4B1B #6F9E1B
monochromatic
#090F35 #121E6A #1B2D9E #243CD2 #5266E1

Accessibility & contrast

On white

10.96
#1B2D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1B2D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D9E
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D9E#FFFFFF#000000##FFFFFF
##1B2D9E1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b2d9e;
/* rgb */ color: rgb(27, 45, 158);
/* oklch */ color: oklch(37.2% 0.181 268.0);
Tailwind
colors: {
  custom: {
    50: '#7166bc',
    500: '#1b2d9e',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d9e;
$custom-light: #7166bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d9e",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 231.756,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37239,
    "c": 0.18141,
    "h": 268
  },
  "luminance": 0.04578
}

Semantic roles & 50–950 ramp

primary
#1B2D9E
secondary
#C4B451
accent
#D53AEE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1B2D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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