#1B2285#1B2285

#1B2285 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.161 H 270.5°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#1B2285
RGBrgb(27, 34, 133)
HSLhsl(236, 66%, 31%)
HSVhsv(236, 80%, 52%)
CMYKcmyk(79.7%, 74.4%, 0%, 47.8%)
CIE-LABlab(20.32, 33.93, -55.62)
CIE-LCHlch(20.32, 65.16, 301.39°)
OKLaboklab(32.72% 0.0014 -0.1611)
OKLCHoklch(32.72% 0.161 270.5)
XYZxyz(5.2562, 3.0699, 22.5013)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2285 #857E1B
analogous
#1B5785 #1B2285 #491B85
triadic
#1B2285 #851B22 #22851B
tetradic
#1B2285 #851B57 #857E1B #1B8549
square
#1B2285 #851B57 #857E1B #1B8549
split-complementary
#1B2285 #85491B #57851B
monochromatic
#06081F #111552 #1B2285 #252FB8 #424CD9

Accessibility & contrast

On white

13.01
#1B2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1B2285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2285
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2285#FFFFFF#000000##FFFFFF
##1B22851.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2285;
/* rgb */ color: rgb(27, 34, 133);
/* oklch */ color: oklch(32.7% 0.161 270.5);
Tailwind
colors: {
  custom: {
    50: '#6b5eaa',
    500: '#1b2285',
    950: '#000000',
  },
}
SCSS
$custom: #1b2285;
$custom-light: #6b5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2285",
  "rgb": {
    "r": 27,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 236.038,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32724,
    "c": 0.16107,
    "h": 270.5
  },
  "luminance": 0.03071
}

Semantic roles & 50–950 ramp

primary
#1B2285
secondary
#B8B144
accent
#DE3FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B2285

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

Preview Lab → · Contrast checker → · Palette generator →

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