#1B2983#1B2983

#1B2983 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.150 H 269.2°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#1B2983
RGBrgb(27, 41, 131)
HSLhsl(232, 66%, 31%)
HSVhsv(232, 79%, 51%)
CMYKcmyk(79.4%, 68.7%, 0%, 48.6%)
CIE-LABlab(21.79, 28.62, -51.95)
CIE-LCHlch(21.79, 59.31, 298.86°)
OKLaboklab(33.72% -0.002 -0.1504)
OKLCHoklch(33.72% 0.15 269.2)
XYZxyz(5.3403, 3.4570, 21.8541)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2983 #83751B
analogous
#1B5D83 #1B2983 #411B83
triadic
#1B2983 #831B29 #29831B
tetradic
#1B2983 #831B5D #83751B #1B8341
square
#1B2983 #831B5D #83751B #1B8341
split-complementary
#1B2983 #83411B #5D831B
monochromatic
#06091E #111950 #1B2983 #2539B6 #4155D8

Accessibility & contrast

On white

12.41
#1B2983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1B2983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2983
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2983#FFFFFF#000000##FFFFFF
##1B29831.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b2983;
/* rgb */ color: rgb(27, 41, 131);
/* oklch */ color: oklch(33.7% 0.150 269.2);
Tailwind
colors: {
  custom: {
    50: '#6a63a8',
    500: '#1b2983',
    950: '#000000',
  },
}
SCSS
$custom: #1b2983;
$custom-light: #6a63a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2983",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 231.923,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33721,
    "c": 0.15036,
    "h": 269.2
  },
  "luminance": 0.03458
}

Semantic roles & 50–950 ramp

primary
#1B2983
secondary
#B6A743
accent
#D23FE9
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1B2983

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

Preview Lab → · Contrast checker → · Palette generator →

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