#1B3283#1B3283

#1B3283 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.5% C 0.139 H 266.8°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#1B3283
RGBrgb(27, 50, 131)
HSLhsl(227, 66%, 31%)
HSVhsv(227, 79%, 51%)
CMYKcmyk(79.4%, 61.8%, 0%, 48.6%)
CIE-LABlab(24.17, 22.43, -48.05)
CIE-LCHlch(24.17, 53.03, 295.03°)
OKLaboklab(35.48% -0.0078 -0.1388)
OKLCHoklch(35.48% 0.139 266.8)
XYZxyz(5.6879, 4.1523, 21.9700)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3283 #836C1B
analogous
#1B6683 #1B3283 #381B83
triadic
#1B3283 #831B32 #32831B
tetradic
#1B3283 #831B66 #836C1B #1B8338
square
#1B3283 #831B66 #836C1B #1B8338
split-complementary
#1B3283 #83381B #66831B
monochromatic
#060B1E #111F50 #1B3283 #2545B6 #4162D8

Accessibility & contrast

On white

11.47
#1B3283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1B3283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3283
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3283#FFFFFF#000000##FFFFFF
##1B32831.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b3283;
/* rgb */ color: rgb(27, 50, 131);
/* oklch */ color: oklch(35.5% 0.139 266.8);
Tailwind
colors: {
  custom: {
    50: '#6969a8',
    500: '#1b3283',
    950: '#000000',
  },
}
SCSS
$custom: #1b3283;
$custom-light: #6969a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3283",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 131
  },
  "hsl": {
    "h": 226.731,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35477,
    "c": 0.13906,
    "h": 266.8
  },
  "luminance": 0.04153
}

Semantic roles & 50–950 ramp

primary
#1B3283
secondary
#B69D43
accent
#C33FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1B3283

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

Preview Lab → · Contrast checker → · Palette generator →

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