#1B2685#1B2685

#1B2685 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.157 H 269.8°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#1B2685
RGBrgb(27, 38, 133)
HSLhsl(234, 66%, 31%)
HSVhsv(234, 80%, 52%)
CMYKcmyk(79.7%, 71.4%, 0%, 47.8%)
CIE-LABlab(21.25, 31.37, -54.09)
CIE-LCHlch(21.25, 62.53, 300.12°)
OKLaboklab(33.39% -0.0005 -0.1566)
OKLCHoklch(33.39% 0.157 269.8)
XYZxyz(5.3773, 3.3121, 22.5417)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2685 #857A1B
analogous
#1B5B85 #1B2685 #451B85
triadic
#1B2685 #851B26 #26851B
tetradic
#1B2685 #851B5B #857A1B #1B8545
square
#1B2685 #851B5B #857A1B #1B8545
split-complementary
#1B2685 #85451B #5B851B
monochromatic
#06091F #111752 #1B2685 #2535B8 #4251D9

Accessibility & contrast

On white

12.63
#1B2685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1B2685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2685
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2685#FFFFFF#000000##FFFFFF
##1B26851.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#002E83
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1b2685;
/* rgb */ color: rgb(27, 38, 133);
/* oklch */ color: oklch(33.4% 0.157 269.8);
Tailwind
colors: {
  custom: {
    50: '#6b60aa',
    500: '#1b2685',
    950: '#000000',
  },
}
SCSS
$custom: #1b2685;
$custom-light: #6b60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2685",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 133
  },
  "hsl": {
    "h": 233.774,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33394,
    "c": 0.1566,
    "h": 269.8
  },
  "luminance": 0.03313
}

Semantic roles & 50–950 ramp

primary
#1B2685
secondary
#B8AC44
accent
#D73FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1B2685

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

Preview Lab → · Contrast checker → · Palette generator →

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