#1B2985#1B2985

#1B2985 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.153 H 269.2°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#1B2985
RGBrgb(27, 41, 133)
HSLhsl(232, 66%, 31%)
HSVhsv(232, 80%, 52%)
CMYKcmyk(79.7%, 69.2%, 0%, 47.8%)
CIE-LABlab(21.99, 29.39, -52.88)
CIE-LCHlch(21.99, 60.50, 299.07°)
OKLaboklab(33.93% -0.0022 -0.1531)
OKLCHoklch(33.93% 0.153 269.2)
XYZxyz(5.4771, 3.5117, 22.5749)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2985 #85771B
analogous
#1B5E85 #1B2985 #421B85
triadic
#1B2985 #851B29 #29851B
tetradic
#1B2985 #851B5E #85771B #1B8542
square
#1B2985 #851B5E #85771B #1B8542
split-complementary
#1B2985 #85421B #5E851B
monochromatic
#060A1F #111952 #1B2985 #2539B8 #4256D9

Accessibility & contrast

On white

12.34
#1B2985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1B2985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2985
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2985#FFFFFF#000000##FFFFFF
##1B29851.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b2985;
/* rgb */ color: rgb(27, 41, 133);
/* oklch */ color: oklch(33.9% 0.153 269.2);
Tailwind
colors: {
  custom: {
    50: '#6b63a9',
    500: '#1b2985',
    950: '#000000',
  },
}
SCSS
$custom: #1b2985;
$custom-light: #6b63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2985",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 232.075,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33926,
    "c": 0.15309,
    "h": 269.2
  },
  "luminance": 0.03512
}

Semantic roles & 50–950 ramp

primary
#1B2985
secondary
#B8A944
accent
#D33FE9
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1B2985

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

Preview Lab → · Contrast checker → · Palette generator →

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