#1B3285#1B3285

#1B3285 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.142 H 266.9°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#1B3285
RGBrgb(27, 50, 133)
HSLhsl(227, 66%, 31%)
HSVhsv(227, 80%, 52%)
CMYKcmyk(79.7%, 62.4%, 0%, 47.8%)
CIE-LABlab(24.34, 23.23, -49.02)
CIE-LCHlch(24.34, 54.24, 295.36°)
OKLaboklab(35.66% -0.0077 -0.1417)
OKLCHoklch(35.66% 0.142 266.9)
XYZxyz(5.8248, 4.2070, 22.6908)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3285 #856E1B
analogous
#1B6785 #1B3285 #391B85
triadic
#1B3285 #851B32 #32851B
tetradic
#1B3285 #851B67 #856E1B #1B8539
square
#1B3285 #851B67 #856E1B #1B8539
split-complementary
#1B3285 #85391B #67851B
monochromatic
#060C1F #111F52 #1B3285 #2545B8 #4263D9

Accessibility & contrast

On white

11.40
#1B3285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1B3285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3285
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3285#FFFFFF#000000##FFFFFF
##1B32851.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b3285;
/* rgb */ color: rgb(27, 50, 133);
/* oklch */ color: oklch(35.7% 0.142 266.9);
Tailwind
colors: {
  custom: {
    50: '#6a69a9',
    500: '#1b3285',
    950: '#000000',
  },
}
SCSS
$custom: #1b3285;
$custom-light: #6a69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3285",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 226.981,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35662,
    "c": 0.14188,
    "h": 266.9
  },
  "luminance": 0.04208
}

Semantic roles & 50–950 ramp

primary
#1B3285
secondary
#B89F44
accent
#C43FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1B3285

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

Preview Lab → · Contrast checker → · Palette generator →

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