#1B2D83#1B2D83

#1B2D83 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.145 H 268.3°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#1B2D83
RGBrgb(27, 45, 131)
HSLhsl(230, 66%, 31%)
HSVhsv(230, 79%, 51%)
CMYKcmyk(79.4%, 65.6%, 0%, 48.6%)
CIE-LABlab(22.82, 25.90, -50.26)
CIE-LCHlch(22.82, 56.54, 297.27°)
OKLaboklab(34.48% -0.0044 -0.1454)
OKLCHoklch(34.48% 0.145 268.3)
XYZxyz(5.4857, 3.7479, 21.9026)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D83 #83711B
analogous
#1B6183 #1B2D83 #3D1B83
triadic
#1B2D83 #831B2D #2D831B
tetradic
#1B2D83 #831B61 #83711B #1B833D
square
#1B2D83 #831B61 #83711B #1B833D
split-complementary
#1B2D83 #833D1B #61831B
monochromatic
#060A1E #111C50 #1B2D83 #253EB6 #415BD8

Accessibility & contrast

On white

12.00
#1B2D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1B2D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D83
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D83#FFFFFF#000000##FFFFFF
##1B2D831.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003281
Tritanopia (blue-blind)
#004453
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b2d83;
/* rgb */ color: rgb(27, 45, 131);
/* oklch */ color: oklch(34.5% 0.145 268.3);
Tailwind
colors: {
  custom: {
    50: '#6a65a8',
    500: '#1b2d83',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d83;
$custom-light: #6a65a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d83",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 229.615,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34478,
    "c": 0.14544,
    "h": 268.3
  },
  "luminance": 0.03748
}

Semantic roles & 50–950 ramp

primary
#1B2D83
secondary
#B6A343
accent
#CB3FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070510
muted
#7A7A7F

Preview Lab

Preview with #1B2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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