#1B2185#1B2185

#1B2185 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.162 H 270.7°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#1B2185
RGBrgb(27, 33, 133)
HSLhsl(237, 66%, 31%)
HSVhsv(237, 80%, 52%)
CMYKcmyk(79.7%, 75.2%, 0%, 47.8%)
CIE-LABlab(20.10, 34.56, -55.99)
CIE-LCHlch(20.10, 65.79, 301.68°)
OKLaboklab(32.56% 0.0019 -0.1621)
OKLCHoklch(32.56% 0.162 270.7)
XYZxyz(5.2280, 3.0136, 22.4919)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2185 #857F1B
analogous
#1B5685 #1B2185 #4A1B85
triadic
#1B2185 #851B21 #21851B
tetradic
#1B2185 #851B56 #857F1B #1B854A
square
#1B2185 #851B56 #857F1B #1B854A
split-complementary
#1B2185 #854A1B #56851B
monochromatic
#06081F #111452 #1B2185 #252EB8 #424AD9

Accessibility & contrast

On white

13.10
#1B2185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1B2185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2185
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2185#FFFFFF#000000##FFFFFF
##1B21851.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002B83
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b2185;
/* rgb */ color: rgb(27, 33, 133);
/* oklch */ color: oklch(32.6% 0.162 270.7);
Tailwind
colors: {
  custom: {
    50: '#6b5daa',
    500: '#1b2185',
    950: '#000000',
  },
}
SCSS
$custom: #1b2185;
$custom-light: #6b5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2185",
  "rgb": {
    "r": 27,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 236.604,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32564,
    "c": 0.16214,
    "h": 270.7
  },
  "luminance": 0.03014
}

Semantic roles & 50–950 ramp

primary
#1B2185
secondary
#B8B244
accent
#E03FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B2185

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

Preview Lab → · Contrast checker → · Palette generator →

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