#1B2D89#1B2D89

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

Color values

HEX#1B2D89
RGBrgb(27, 45, 137)
HSLhsl(230, 67%, 32%)
HSVhsv(230, 80%, 54%)
CMYKcmyk(80.3%, 67.2%, 0%, 46.3%)
CIE-LABlab(23.39, 28.24, -53.08)
CIE-LCHlch(23.39, 60.12, 298.01°)
OKLaboklab(35.07% -0.0047 -0.1536)
OKLCHoklch(35.07% 0.154 268.2)
XYZxyz(5.9042, 3.9153, 24.1066)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D89 #89771B
analogous
#1B6489 #1B2D89 #401B89
triadic
#1B2D89 #891B2D #2D891B
tetradic
#1B2D89 #891B64 #89771B #1B8940
square
#1B2D89 #891B64 #89771B #1B8940
split-complementary
#1B2D89 #89401B #64891B
monochromatic
#070B23 #111C56 #1B2D89 #253EBC #445DDA

Accessibility & contrast

On white

11.78
#1B2D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2D89
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D89#FFFFFF#000000##FFFFFF
##1B2D891.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003387
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1b2d89;
/* rgb */ color: rgb(27, 45, 137);
/* oklch */ color: oklch(35.1% 0.154 268.2);
Tailwind
colors: {
  custom: {
    50: '#6b66ac',
    500: '#1b2d89',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d89;
$custom-light: #6b66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d89",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 230.182,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35071,
    "c": 0.1537,
    "h": 268.2
  },
  "luminance": 0.03916
}

Semantic roles & 50–950 ramp

primary
#1B2D89
secondary
#BCA844
accent
#CE3EEA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1B2D89

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

Preview Lab → · Contrast checker → · Palette generator →

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