#1B2683#1B2683

#1B2683 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.154 H 269.9°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#1B2683
RGBrgb(27, 38, 131)
HSLhsl(234, 66%, 31%)
HSVhsv(234, 79%, 51%)
CMYKcmyk(79.4%, 71%, 0%, 48.6%)
CIE-LABlab(21.05, 30.62, -53.17)
CIE-LCHlch(21.05, 61.35, 299.94°)
OKLaboklab(33.18% -0.0003 -0.1539)
OKLCHoklch(33.18% 0.154 269.9)
XYZxyz(5.2404, 3.2574, 21.8209)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2683 #83781B
analogous
#1B5A83 #1B2683 #441B83
triadic
#1B2683 #831B26 #26831B
tetradic
#1B2683 #831B5A #83781B #1B8344
square
#1B2683 #831B5A #83781B #1B8344
split-complementary
#1B2683 #83441B #5A831B
monochromatic
#06091E #111750 #1B2683 #2535B6 #4151D8

Accessibility & contrast

On white

12.71
#1B2683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1B2683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2683
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2683#FFFFFF#000000##FFFFFF
##1B26831.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.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: #1b2683;
/* rgb */ color: rgb(27, 38, 131);
/* oklch */ color: oklch(33.2% 0.154 269.9);
Tailwind
colors: {
  custom: {
    50: '#6a60a8',
    500: '#1b2683',
    950: '#000000',
  },
}
SCSS
$custom: #1b2683;
$custom-light: #6a60a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2683",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 131
  },
  "hsl": {
    "h": 233.654,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33182,
    "c": 0.15392,
    "h": 269.9
  },
  "luminance": 0.03258
}

Semantic roles & 50–950 ramp

primary
#1B2683
secondary
#B6AA43
accent
#D73FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1B2683

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

Preview Lab → · Contrast checker → · Palette generator →

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