#1B2783#1B2783

#1B2783 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.153 H 269.7°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#1B2783
RGBrgb(27, 39, 131)
HSLhsl(233, 66%, 31%)
HSVhsv(233, 79%, 51%)
CMYKcmyk(79.4%, 70.2%, 0%, 48.6%)
CIE-LABlab(21.29, 29.96, -52.77)
CIE-LCHlch(21.29, 60.68, 299.59°)
OKLaboklab(33.36% -0.0009 -0.1527)
OKLCHoklch(33.36% 0.153 269.7)
XYZxyz(5.2728, 3.3222, 21.8317)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2783 #83771B
analogous
#1B5B83 #1B2783 #431B83
triadic
#1B2783 #831B27 #27831B
tetradic
#1B2783 #831B5B #83771B #1B8343
square
#1B2783 #831B5B #83771B #1B8343
split-complementary
#1B2783 #83431B #5B831B
monochromatic
#06091E #111850 #1B2783 #2536B6 #4152D8

Accessibility & contrast

On white

12.62
#1B2783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1B2783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2783
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2783#FFFFFF#000000##FFFFFF
##1B27831.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#002E81
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1b2783;
/* rgb */ color: rgb(27, 39, 131);
/* oklch */ color: oklch(33.4% 0.153 269.7);
Tailwind
colors: {
  custom: {
    50: '#6a61a8',
    500: '#1b2783',
    950: '#000000',
  },
}
SCSS
$custom: #1b2783;
$custom-light: #6a61a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2783",
  "rgb": {
    "r": 27,
    "g": 39,
    "b": 131
  },
  "hsl": {
    "h": 233.077,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33359,
    "c": 0.15274,
    "h": 269.7
  },
  "luminance": 0.03323
}

Semantic roles & 50–950 ramp

primary
#1B2783
secondary
#B6A943
accent
#D53FE9
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1B2783

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

Preview Lab → · Contrast checker → · Palette generator →

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